persianArithmetic property

CalendarSystem persianArithmetic

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.

This implementation uses data derived from the .NET 4.6 implementation (with the data built into Time Machine, so there's no BCL dependency) for simplicity; the actual implementation involves computing the time of noon in Iran, and is complex.

Implementation

static CalendarSystem get persianArithmetic => _PersianCalendars.arithmetic;