getMinYearOfEra method

int getMinYearOfEra(
  1. Era era
)

Returns the minimum valid year-of-era in the given era.

Note that depending on the calendar system, it's possible that only part of the returned year falls within the given era. It is also possible that the returned value represents the latest year of the era rather than the earliest year. (See the BC era in the Gregorian calendar, for example.)

  • era: The era in which to find the greatest year

Returns: The minimum valid year in the given eraera.

  • ArgumentException: era is not an era used in this calendar.

Implementation

int getMinYearOfEra(Era era) => _eraCalculator.getMinYearOfEra(era);