Noda Time
GetMaxYearOfEra Method (era)
NamespacesNodaTimeCalendarSystemGetMaxYearOfEra(Era)
Returns the maximum valid year-of-era in the given era.
Declaration Syntax
C#Visual BasicVisual C++
public int GetMaxYearOfEra(
	Era era
)
Public Function GetMaxYearOfEra ( 
	era As Era
) As Integer
public:
int GetMaxYearOfEra(
	Era^ era
)
Parameters
era (Era)
The era in which to find the greatest year
Return Value
Int32
The maximum valid year in the given era.
Exceptions
ExceptionCondition
ArgumentNullExceptionera is null.
ArgumentExceptionera is not an era used in this calendar.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)