Last updated

API / geotoolkit / util / DateUtil / DateUtil

Class: DateUtil

util.DateUtil.DateUtil

Helper class for the Date

Table of contents

Constructors
Methods

Contents

Constructors

new DateUtil()

new DateUtil()

Methods

getClassName

getClassName(): string

Returns

string


format

Static format(date, format): string

Format date

Parameters

Name Type Description
dateDatedate instance
formatstringdate format

Returns

string


formatUTC

Static formatUTC(date, format): string

Format UTC date

Parameters

Name Type Description
dateDatedate instance
formatstringdate format

Returns

string


getClassName

Static getClassName(): string

Returns

string


getLongDays

Static getLongDays(): string[]

Returns array of days long names

Returns

string[]


getLongMonths

Static getLongMonths(): string[]

Returns array of months long names

Returns

string[]


getShortsDays

Static getShortsDays(): string[]

Returns array of days short names

Returns

string[]


getShortsMonths

Static getShortsMonths(): string[]

Returns array of months short names

Returns

string[]