Cldr.Calendar.Era.Japanese (ex_cldr_calendars_japanese v1.1.0)

View Source

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.

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.

Functions

day_of_era(iso_days)

@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.

year_of_era(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.

year_of_era(iso_days, year)

@spec year_of_era(integer(), Calendar.year()) :: {Calendar.year(), Calendar.era()}