EastAsianLunisolarCalendar::IsLeapMonth Method (Int32, Int32, Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether the specified month in the specified year and era is a leap month.

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual bool IsLeapMonth(
	int year,
	int month,
	int era
) override

Parameters

year
Type: System::Int32

An integer that represents the year.

month
Type: System::Int32

An integer from 1 through 13 that represents the month.

era
Type: System::Int32

An integer that represents the era.

Return Value

Type: System::Boolean

true if the month parameter is a leap month; otherwise, false.

Exception Condition
ArgumentOutOfRangeException

year, month, or era is outside the range supported by this calendar.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show: