Package | com.adobe.icomm.assetplacement.controller.utils |
Class | public class ExpiryDateFormat |
Inheritance | 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 |
Public Properties
Property | Defined By | ||
---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
![]() | error : String
Description saved by the formatter when an error occurs. | Formatter | |
![]() | formatString : String
The mask pattern. | DateFormatter |
Protected Properties
Property | Defined By | ||
---|---|---|---|
![]() | resourceManager : IResourceManager [read-only]
A reference to the object which manages
all of the application's localized resources. | Formatter |
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
Method | Defined By | ||
---|---|---|---|
![]() |
This method is called when a Formatter is constructed,
and again whenever the ResourceManager dispatches
a "change" Event to indicate
that the localized resources have changed in some way. | Formatter |
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.
|
Thu Dec 4 2014, 05:50 PM -08:00