View Source API Reference ex_cldr_calendars_persian v1.1.0

Modules

Implements a year_of_era/{1, 2} function to return the year of era and the era number for the Cldr.Calendar.Era.Persian calendar.

The present Iranian calendar was legally adopted on 31 March 1925, under the early Pahlavi dynasty. The law said that the first day of the year should be the first day of spring in "the true solar year", "as it has been" ever so. It also fixes the number of days in each month, which previously varied by year with the sidereal zodiac.