CalendarSystem PropertiesNoda Time
The CalendarSystem type exposes the following members.
Properties

  NameDescription
Public propertyEras
Returns a read-only list of eras used in this calendar system.
Public propertyId
Returns the unique identifier for this calendar system. This is provides full round-trip capability using ForId(String) to retrieve the calendar system from the identifier.
Public propertyStatic memberIds
Returns the IDs of all calendar systems available within Noda Time. The order of the keys is not guaranteed.
Public propertyStatic memberIso
Returns a calendar system that follows the rules of the ISO-8601 standard, which is compatible with Gregorian for all modern dates.
Public propertyMaxYear
The maximum valid year (inclusive) within this calendar.
Public propertyMinYear
The minimum valid year (inclusive) within this calendar.
Public propertyName
Returns the name of this calendar system. Each kind of calendar system has a unique name, but this does not usually provide enough information for round-tripping. (For example, the name of an Islamic calendar system does not indicate which kind of leap cycle it uses, and other calendars specify the minimum number of days in the first week of a year.)
Public propertyUsesIsoDayOfWeek
Returns whether the day-of-week field refers to ISO days. If true, types such as LocalDateTime can use the IsoDayOfWeek property to avoid using magic numbers. This defaults to true, but can be overridden by specific calendars.
Back to Top
See Also