Module persian

Source
Expand description

The persian calendar

Constantsยง

FIXED_PERSIAN_EPOCH ๐Ÿ”’
Lisp code reference: https://github.com/EdReingold/calendar-code2/blob/main/calendar.l#L4720
MIN_NON_LEAP_CORRECTION ๐Ÿ”’
NON_LEAP_CORRECTION ๐Ÿ”’

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
arithmetic_persian_year_from_fixed ๐Ÿ”’
Lisp code reference: https://github.com/EdReingold/calendar-code2/blob/main/calendar.l#L4829 Not used, but kept for comparative purposes
fast_persian_from_fixed
arithmetic_persian_from_fixed, modified to use the 33-year rule method
fast_persian_year_from_fixed ๐Ÿ”’
arithmetic_persian_year_from_fixed modified for the 33-year rule
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_arithmetic_leap_year ๐Ÿ”’
Lisp code reference: https://github.com/EdReingold/calendar-code2/blob/main/calendar.l#L4789 Not used, but kept for comparative purposes
is_leap_year
Calculated using the 33-year rule