Helper: LastTimeSavedUtil provides a singleton to COMPARE and convert W3C compatible time objects from and to strings.
public function LastTimeSavedUtil(enforcer:SingletonEnforcer)
Parameters | enforcer:SingletonEnforcer |
protected function dealloc():void
public static function getInstance():LastTimeSavedUtil
Returns public function getTempLastTimeSavedObject():LastTimeSavedChecker
Returns protected function init():void
public function parseW3CDTF(str:String):Date
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 9.0 |
Parses dates that conform to the W3C Date-time Format into Date objects.
This function is useful for parsing RSS 1.0 and Atom 1.0 dates.
Parameters
ReturnsSee also
public function toW3CDTF(d:Date, includeMilliseconds:Boolean = false):String
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 9.0 |
Returns a date string formatted according to W3CDTF.
Parameters
| d:Date |
|
| includeMilliseconds:Boolean (default = false ) — Determines whether to include the
milliseconds value (if any) in the formatted string.
|
ReturnsSee also
Dienstag Mai 14 2013, 04:02 AM +02:00