Cldr.Calendar.Persian.leap_year-question-mark

You're seeing just the function leap_year-question-mark, go back to Cldr.Calendar.Persian module for more information.

Specs

leap_year?(year()) :: boolean()

Returns if the given year is a leap year.

Since this calendar is observational we calculate the start of successive years and then calcualate the difference in days to determine if its a leap year.