API / geotoolkit / util / Format / Format
Defines abstract class for formatting numbers, dates and time
Format
Constructors
Methods
▸ clone(): Format
All inheritors should implement copy constructor or provide custom implementation for this method
clone
▸ Protected copyConstructor(src): Format
| Name | Type |
|---|---|
src | Format |
▸ Abstract format(num): string
Formats object to string
| Name | Type | Description |
|---|---|---|
num | string | number | number |
string
▸ getClassName(): string
string
▸ getProperties(): Record<string, any>
Gets all the properties pertaining to this object
Record<string, any>
▸ setProperties(properties?): Format
Sets all the properties pertaining to this object
| Name | Type | Description |
|---|---|---|
Optional properties | Record<string, any> | An object containing the properties to set |
this
▸ Static getClassName(): string
string