CalendarSystem GetMinYearOfEra Method Noda Time

[This is preliminary documentation and is subject to change.]

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

Namespace: NodaTime
Assembly: NodaTime (in NodaTime.dll) Version: (

public int GetMinYearOfEra(
	Era era

Return Value

Type: OnlineInt32
The minimum valid year in the given eraera.


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.)
Version Information

Available since: 1.0.0
Supported in the PCL? Yes
See Also