CalendarSystem
The calendar a date is expressed in.
This is the named form of the era integer carried by CustomCalendar and MonthCalendar (1 = AD, 2 = BS), so the two representations never disagree: era is the single mapping.
The pickers use this to decide which calendar to display. A selected date is always stored as BIKRAM_SAMBAT, whichever system is on screen, so switching the display is lossless.
Properties
Returns a representation of an immutable list of all enum entries, in the order they're declared.
the era value a CustomCalendar in this system carries.
Functions
The other system. With two systems this is the toggle target.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.