CalendarSystem PropertiesNoda Time

[This is preliminary documentation and is subject to change.]

The CalendarSystem type exposes the following members.
Properties

  NameDescription
Public propertyStatic memberCoptic
Returns a Coptic calendar system, which defines every fourth year as leap, much like the Julian calendar. The year is broken down into 12 months, each 30 days in length. An extra period at the end of the year is either 5 or 6 days in length. In this implementation, it is considered a 13th month.
Public propertyEras
Gets a read-only list of eras used in this calendar system.
Public propertyStatic memberGregorian
Returns a Gregorian calendar system with at least 4 days in the first week of a week-year.
Public propertyStatic memberHebrewCivil
Returns a Hebrew calendar system using the civil month numbering, equivalent to the one used by the BCL HebrewCalendar.
Public propertyStatic memberHebrewScriptural
Returns a Hebrew calendar system using the scriptural month numbering.
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 memberIslamicBcl
Returns an Islamic calendar system equivalent to the one used by the BCL HijriCalendar.
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 propertyStatic memberJulian
Returns a pure proleptic Julian calendar system, which defines every fourth year as a leap year. This implementation follows the leap year rule strictly, even for dates before 8 CE, where leap years were actually irregular.
Public propertyMaxYear
Gets the maximum valid year (inclusive) within this calendar.
Public propertyMinYear
Gets 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 propertyStatic memberPersianArithmetic
Returns a Persian (also known as Solar Hijri) calendar system implementing the behaviour of the BCL
PersianCalendar
from .NET 4.6 onwards (and Windows 10), and the astronomical system described in Wikipedia and Calendrical Calculations.
Public propertyStatic memberPersianAstronomical
Returns a Persian (also known as Solar Hijri) calendar system implementing the behaviour proposed by Ahmad Birashk with nested cycles of years determining which years are leap years.
Public propertyStatic memberPersianSimple
Returns a Persian (also known as Solar Hijri) calendar system implementing the behaviour of the BCL
PersianCalendar
before .NET 4.6, and the sole Persian calendar in Noda Time 1.3.
Public propertyStatic memberUmAlQura
Returns an Um Al Qura calendar system - an Islamic calendar system primarily used by Saudi Arabia.
Back to Top
See Also