Package | com.adobe.icomm.assetplacement.controller.utils |
Class | public class ExpiryDateFormat |
Inheritance | ExpiryDateFormat DateFormatter Formatter Object |
Language Version: | ActionScript 3.0 |
Product Version: | Asset Placement Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Public Properties
Protected Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
Construct an ExpiryDateFormatter object. | ExpiryDateFormat | ||
[override]
Generates a date-formatted String from either a date-formatted String or a Date object. | DateFormatter | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
[static]
Given a date string of the form YYYY-MM-DD create and return
the equivalent Date object. | ExpiryDateFormat | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Protected Methods
Constructor Detail
ExpiryDateFormat | () | Constructor |
public function ExpiryDateFormat()
Language Version: | ActionScript 3.0 |
Product Version: | Asset Placement Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Construct an ExpiryDateFormatter object.
Method Detail
parseDateString | () | method |
public static function parseDateString(str:String):Date
Language Version: | ActionScript 3.0 |
Product Version: | Asset Placement Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Given a date string of the form YYYY-MM-DD create and return the equivalent Date object.
Parameters
str:String — A string representing a date in the format YYYY-MM-DD.
|
Date — A Date object or null if the string is empty or does not conform to YYYY-MM-DD.
|
Mon Nov 28 2011, 06:48 AM -08:00