Ejemplo n.º 1
0
 /// <summary>
 /// Returns the minimum valid year-of-era in the given era.
 /// </summary>
 /// <remarks>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.)</remarks>
 /// <param name="era">The era in which to find the greatest year</param>
 /// <returns>The minimum valid year in the given eraera.</returns>
 /// <exception cref="ArgumentException"><paramref name="era"/> is not an era used in this calendar.</exception>
 public int GetMinYearOfEra(Era era) => eraCalculator.GetMinYearOfEra(era);
Ejemplo n.º 2
0
 /// <summary>
 /// Returns the minimum valid year-of-era in the given era.
 /// </summary>
 /// <remarks>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.)</remarks>
 /// <param name="era">The era in which to find the greatest year</param>
 /// <returns>The minimum valid year in the given eraera.</returns>
 /// <exception cref="ArgumentException"><paramref name="era"/> is not an era used in this calendar.</exception>
 public int GetMinYearOfEra([NotNull] Era era) => eraCalculator.GetMinYearOfEra(era);