Share via


DateFormat interface

The date format.

Properties

availableLocales

An array of available locales.

calendar

Calendar

dateInstance

The date format.

dateTimeInstance

The date format.

instance

The date format.

lenient

Determines the leniency of the date format.

numberFormat

The number format.

timeInstance

The date format.

timeZone

The timezone information.

Property Details

availableLocales

An array of available locales.

availableLocales?: string[]

Property Value

string[]

calendar

Calendar

calendar?: number

Property Value

number

dateInstance

The date format.

dateInstance?: DateFormat

Property Value

dateTimeInstance

The date format.

dateTimeInstance?: DateFormat

Property Value

instance

The date format.

instance?: DateFormat

Property Value

lenient

Determines the leniency of the date format.

lenient?: boolean

Property Value

boolean

numberFormat

The number format.

numberFormat?: NumberFormat

Property Value

timeInstance

The date format.

timeInstance?: DateFormat

Property Value

timeZone

The timezone information.

timeZone?: TimeZone

Property Value