/// <summary> /// See <see cref="GetAbsoluteYear(int, Era)"/> - but this uses a pre-validated index. /// This default implementation validates that the year is between 1 and MaxYear inclusive, /// but then returns it as-is, expecting that there's no further work to be /// done. This is valid for single-era calendars; the method should be overridden for multi-era calendars. /// </summary> internal int GetAbsoluteYear(int yearOfEra, int eraIndex) { return(yearMonthDayCalculator.GetAbsoluteYear(yearOfEra, eraIndex)); }