Constructors
Accessors
dayOfMonth
- get dayOfMonth(): number
Returns number
dayOfYear
- get dayOfYear(): number
Returns number
daysInMonth
- get daysInMonth(): number
Returns number
daysInYear
- get daysInYear(): number
Returns number
era
- get era(): string
Returns string
extendedYear
- get extendedYear(): number
Returns number
ffiValue
- get ffiValue(): number
Returns number
monthCode
- get monthCode(): string
Returns string
monthIsLeap
- get monthIsLeap(): boolean
Returns boolean
monthNumber
- get monthNumber(): number
Returns number
monthsInYear
- get monthsInYear(): number
Returns number
ordinalMonth
- get ordinalMonth(): number
Returns number
yearInEra
- get yearInEra(): number
Returns number
Methods
toCalendar
- toCalendar(calendar): Date
weekOfMonth
- weekOfMonth(firstWeekday): number
Returns number
weekOfYear
- weekOfYear(calculator): WeekOf
Static
fromCodesInCalendar
- fromCodesInCalendar(eraCode, year, monthCode, day, calendar): Date
Parameters
- eraCode: string
- year: number
- monthCode: string
- day: number
- calendar: Calendar
Static
fromIsoInCalendar
- fromIsoInCalendar(year, month, day, calendar): Date
Parameters
- year: number
- month: number
- day: number
- calendar: Calendar
An ICU4X Date object capable of containing a date and time for any calendar.
See the Rust documentation for
Date
for more information.