Class: GregorianCalendar

calendars.GregorianCalendar(id, switchingDate, pldr)

Generic non-proleptic Gregorian calendar, with a date of switchover to the Gregorian reckoning system as parameter.

Constructor

new GregorianCalendar(id, switchingDate, pldr)

Parameters:
Name Type Description
id string the calendar identifier.
switchingDate number | string first date where Gregorien calendar was used; switchingDate may be an ISO string or a Posix timestamp.
pldr document the private locale data registry that holds the era names.
Source:

Members

eras

Era codes: "bc" for backwards counted years before year 1, "os" (Old Style) for years since Dionysius era in Julian reckoning system, "ns" (New Style) for years in Gregorian reckoning system.
Source: