CalendarSystem GetPersianCalendar Method Noda Time
Returns a Persian (also known as Solar Hijri) calendar system. This is the main calendar in Iran and Afghanistan, and is also used in some other countries where Persian is spoken.

Namespace: NodaTime
Assembly: NodaTime (in NodaTime.dll) Version: (1.3.1)

public static CalendarSystem GetPersianCalendar()

Return Value

Type: CalendarSystem
A Persian calendar system.

The true Persian calendar is an astronomical one, where leap years depend on vernal equinox. A complicated algorithmic alternative approach exists, proposed by Ahmad Birashk, but this isn't generally used in society. The implementation here is somewhat simpler, using a 33-year leap cycle, where years 1, 5, 9, 13, 17, 22, 26, and 30 in each cycle are leap years. This is the same approach taken by the BCL PersianCalendar class, and the dates of this implementation align exactly with the BCL implementation.
Version Information

Available since: 1.3.1
Supported in the PCL? Yes
See Also