Skip to content

CalendarSystem

A calendar GMT’s calendar functions support, named by its canonical calendar id: the CLDR common/bcp47/calendar.xml type that Temporal’s CanonicalizeCalendar returns, and that RFC 9557’s [u-ca=<id>] annotation carries.

import type { CalendarSystem } from "@northguild/gmt";
type CalendarSystem =
| "iso8601"
| "gregory"
| "hebrew"
| "islamic-civil"
| "islamic-tbla"
| "islamic-umalqura"
| "japanese"
| "buddhist"
| "roc"
| "persian"
| "indian"
| "ethiopic"
| "ethioaa"
| "coptic";

types/calendar-system.ts