Utilities
The following are utilities that are used and exposed by the library:
getCalendarFormId
getCalendarFormId(
- id: SupportedCalendars,
- weekStartDay: HWCWeekDays | ISOWeekDays = 1
): Temporal.CalendarLike
getCalendarSuperId
getCalendarSuperId(
- id: SupportedCalendars
): SupportedNativeCalendars
getScaleFromCalendarId
getScaleFromCalendarId(
- id: SupportedCalendars
): Scale
isSupportedCalendar
isSupportedCalendar(
- id: string
): boolean
instantToOtherTemporal
instantToOtherTemporal<T>(
- instant: Temporal.Instant,
- target: T
): T
pymod
pymod(
- a: number,
- b: number
): number