new DateTimeFormat()
The abstract date formatter.
Members
-
<static> registeredFormatters. :Object
-
Gets object with information about registered date time formatters. Key is class name and value is formatter constructor.
Type:
- Object
-
locale :string
-
The locale string to use.
Type:
- string
Methods
-
<static> deserialize(state)
-
Deserializes date formatter.
Parameters:
Name Type Description state
Object The formatter's state. Returns:
- Type
- IDateTimeFormat
-
loadState(state)
-
Loads state.
Parameters:
Name Type Description state
object The state. - See:
-
saveState()
-
Saves formatter state.
- See:
Returns:
The state.- Type
- object