Noda Time
GetMaxYearOfEra Method (era)
NamespacesNodaTimeCalendarSystemGetMaxYearOfEra(Era)

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

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
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)