Constructors
constructor
- new Locale(name: string, options: { weekStart: number }): Locale
Parameters
name: string
options: { weekStart: number }
Properties
Private #name
#name: string
Methods
Abstract formatNumber
- formatNumber(n: number, options?: { minimumIntegerDigits?: number }): string
Parameters
n: number
Optional options: { minimumIntegerDigits?: number }
Optional minimumIntegerDigits?: number
Returns string
Abstract getMonthNames
- getMonthNames(calendar: Calendar, format?: MonthNameFormat): string[]
Parameters
Optional format: MonthNameFormat
Returns string[]
Abstract getWeekdayNames
- getWeekdayNames(format?: WeekdayNameFormat, weekStart?: number): string[]
Parameters
Optional format: WeekdayNameFormat
Optional weekStart: number
Returns string[]
Abstract getZoneTitle
- getZoneTitle(zoneName: string, format: ZoneTitleFormat): string
Parameters
zoneName: string
format: ZoneTitleFormat
Returns string
An abstract base class for all locales