Calendar.year_of_era

You're seeing just the callback year_of_era, go back to Calendar module for more information.

Specs

year_of_era(year()) :: {year(), era()}

Calculates the year and era from the given year.