IsLeapMonth Method (Int32, Int32, Int32)
Collapse the table of content
Expand the table of content

UmAlQuraCalendar.IsLeapMonth Method (Int32, Int32, Int32)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
Public Overrides Function IsLeapMonth ( _
	year As Integer, _
	month As Integer, _
	era As Integer _
) As Boolean

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].

Return Value

Type: System.Boolean
Always false, because the UmAlQuraCalendar class does not support leap months.

ExceptionCondition
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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft