View Source Cldr.Calendar.Era.Japanese (cldr_calendars_japanese v1.0.0)
Implements a year_of_era/{1, 2} function to return
the year of era and the era number for the
Cldr.Calendar.Era.Japanese calendar.
This module is generated at compile time from CLDR era data.
Link to this section Summary
Functions
Returns the day of era and the era number
for a given date in iso_days.
Returns the year of era and the era number
for a given date in iso_days.
Link to this section Functions
@spec day_of_era(integer()) :: {Calendar.day(), Calendar.era()}
Returns the day of era and the era number
for a given date in iso_days.
@spec year_of_era(integer()) :: {Calendar.year(), Calendar.era()}
Returns the year of era and the era number
for a given date in iso_days.
@spec year_of_era(integer(), Calendar.year()) :: {Calendar.year(), Calendar.era()}