Returns the number of months in the specified year in the specified era.
Syntax
public override
int GetMonthsInYear (
int year,
int era)
Parameters
- year
-
An integer that represents the year.
- era
-
An integer that represents the era.
Returns
The return value is always 12.
Remarks
Requirements
Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0