new NumberFormat()
The abstract base class for number formatters.
Members
-
<static> registeredFormatters. :Object
-
Gets object with information about registered number formatters. Key is class name and value is formatter constructor.
Type:
- Object
-
locale :string
-
The locale string (e.g. 'en-US').
Type:
- string
Methods
-
<static> deserialize(state)
-
Deserializes number formatter.
Parameters:
Name Type Description state
Object The formatter's state. Returns:
- Type
- INumberFormat
-
<static> loadState(state)
-
Loads state.
Parameters:
Name Type Description state
object The state. - See:
-
saveState
-
<static> saveState()
-
Saves formatter state.
- See:
-
loadState
Returns:
The state.- Type
- object