Options
All
  • Public
  • Public/Protected
  • All
Menu

An OptionsProvider implementation that handles Standard Date and Time Format Specifiers. The type of the returned options object is an extended version of Intl.DateTimeFormat's options parameter.

Hierarchy

  • IntlOptionsProvider

Implements

Index

Constructors

constructor

Properties

Private options_

options_: DateTimeFormatOptions

Private style_

style_: string

Methods

getStyle

  • getStyle(): string

resolveOptions

  • resolveOptions(format: string, value: Date): DateTimeFormatOptions

Private tryInitializeSpecifierOptions_

  • tryInitializeSpecifierOptions_(format: string): boolean

useUTC

  • useUTC(): boolean

Object literals

Private resolvers_

resolvers_: object

rfc1123

rfc1123: function

Type declaration

    • (): T
    • Returns T

roundTrip

roundTrip: function

Type declaration

    • (): T
    • Returns T

sortable

sortable: function

Type declaration

    • (): T
    • Returns T

fullDateLongTime

  • fullDateLongTime(): void

fullDateShortTime

  • fullDateShortTime(): void

generalDateLongTime

  • generalDateLongTime(): void

generalDateShortTime

  • generalDateShortTime(): void

longDate

  • longDate(): void

longTime

  • longTime(): void

monthDate

  • monthDate(): void

shortDate

  • shortDate(): void

shortTime

  • shortTime(): void

universalFull

  • universalFull(): void

universalSortable

  • universalSortable(): void

yearMonth

  • yearMonth(): void

Generated using TypeDoc