A Temporal.Calendar
is a representation of a calendar system. It includes
information about how many days are in each year, how many months are in
each year, how many days are in each month, and how to do arithmetic in
that calendar system.
See https://tc39.es/proposal-temporal/docs/calendar.html for more details.
readonly
[Symbol.toStringTag]: "Temporal.Calendar"
readonly
id: string
dateAdd(): Temporal.PlainDate
dateFromFields(fields: ,options?: AssignmentOptions,): Temporal.PlainDate
dateUntil(): Temporal.Duration
day(date: ): number
dayOfWeek(date: ): number
dayOfYear(date: ): number
daysInMonth(date: ): number
daysInWeek(date: ): number
daysInYear(date: ): number
era(date: ): string | undefined
eraYear(date: ): number | undefined
fields(fields: Iterable<string>): string[]
inLeapYear(date: ): boolean
mergeFields(fields: Record<string, unknown>,additionalFields: Record<string, unknown>,): Record<string, unknown>
month(date: ): number
monthCode(date: ): string
monthDayFromFields(fields: MonthCodeOrMonthAndYear & { day: number; },options?: AssignmentOptions,): Temporal.PlainMonthDay
monthsInYear(date: ): number
toJSON(): string
toString(): string
weekOfYear(date: ): number
year(date: ): number
yearMonthFromFields(fields: YearOrEraAndEraYear & MonthOrMonthCode,options?: AssignmentOptions,): Temporal.PlainYearMonth
yearOfWeek(date: ): number
from(item: CalendarLike): Temporal.Calendar | CalendarProtocol