Skip to main content

Type Alias: DateTimeFormatterOptions

DateTimeFormatterOptions = object

Defined in: src/sdk/graphics/text/DateTimeFormatter.ts:6

Options for creating a time formatter.

Properties

cache

cache: boolean

Defined in: src/sdk/graphics/text/DateTimeFormatter.ts:23

Whether to cache and reuse the previously generated string when possible.


dayNames

dayNames: [string, string, string, string, string, string, string]

Defined in: src/sdk/graphics/text/DateTimeFormatter.ts:14

Names for days of the week, starting with Sunday.


dayNamesShort

dayNamesShort: [string, string, string, string, string, string, string]

Defined in: src/sdk/graphics/text/DateTimeFormatter.ts:17

Abbreviated names for days of the week, starting with Sunday.


monthNames

monthNames: [string, string, string, string, string, string, string, string, string, string, string, string]

Defined in: src/sdk/graphics/text/DateTimeFormatter.ts:8

Names for months, starting with January.


monthNamesShort

monthNamesShort: [string, string, string, string, string, string, string, string, string, string, string, string]

Defined in: src/sdk/graphics/text/DateTimeFormatter.ts:11

Abbreviated names for months, starting with January.


nanString

nanString: string

Defined in: src/sdk/graphics/text/DateTimeFormatter.ts:20

The string to output for an input of NaN.