Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UmAlQuraCalendar::IsLeapMonth Method (Int32, Int32, Int32)

 

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

A year.

month
Type: System::Int32

An integer from 1 through 12 that represents a month.

era
Type: System::Int32

An era. Specify UmAlQuraCalendar.Eras[UmAlQuraCalendar.CurrentEra] or UmAlQuraEra.

Return Value

Type: System::Boolean

Always false because the UmAlQuraCalendar class does not support leap months.

Exception Condition
ArgumentOutOfRangeException

year, month, or era is outside the range supported by the UmAlQuraCalendar class.

A leap month is an entire month that occurs only in a leap year.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft