System.Globalization.EastAsianLunisolarCalendar.GetMonthsInYear Method

Calculates the number of months in the specified year and 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 number of months in the specified year in the specified era. The return value is 12 months in a common year or 13 months in a leap year.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0