Module persian

Source
Expand description

The persian calendar

Functionsยง

arithmetic_persian_from_fixed
Lisp code reference: https://github.com/EdReingold/calendar-code2/blob/main/calendar.l#L4857 Not used, but kept for comparative purposes
fast_persian_from_fixed
arithmetic_persian_from_fixed, modified to use the 33-year rule method
fixed_from_arithmetic_persian
Lisp code reference: https://github.com/EdReingold/calendar-code2/blob/main/calendar.l#L4803 Not used, but kept for comparative purposes
fixed_from_fast_persian
fixed_from_arithmetic_persian, modified to use the more correct 33-year rule
is_leap_year
Calculated using the 33-year rule