System.Globalization.EastAsianLunisolarCalendar.GetDaysInMonth Method

Calculates the number of days in the specified month of the specified year and era.

Syntax

public override int GetDaysInMonth (int year, int month, int era)

Parameters

year
An integer that represents the year.
month
An integer from 1 through 12 in a common year, or 1 through 13 in a leap year, that represents the month.
era
An integer that represents the era.

Returns

The number of days in the specified month of the specified year and era.

Remarks

If the month parameter is the second month, the EastAsianLunisolarCalendar.GetDaysInMonth(int, int, int) method returns 28 or 29, depending on whether the year parameter is a leap year.

Requirements

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