API / geotoolkit / util / DateUtil / DateUtil
Helper class for the Date
Constructors
- [new DateUtil()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.util.dateutil.dateutil.md#new dateutil())
Methods
▸ getClassName(): string
string
▸ Static format(date, format): string
Format date
| Name | Type | Description |
|---|---|---|
date | Date | date instance |
format | string | date format |
string
▸ Static formatUTC(date, format): string
Format UTC date
| Name | Type | Description |
|---|---|---|
date | Date | date instance |
format | string | date format |
string
▸ Static getClassName(): string
string
▸ Static getLongDays(): string[]
Returns array of days long names
string[]
▸ Static getLongMonths(): string[]
Returns array of months long names
string[]
▸ Static getShortsDays(): string[]
Returns array of days short names
string[]
▸ Static getShortsMonths(): string[]
Returns array of months short names
string[]