NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

GregorianCalendar.IsLeapMonth

Checks whether a specified month in the specified era is a leap month.

[Visual Basic]
Overrides Public Function IsLeapMonth( _
   ByVal year As Integer, _
   ByVal month As Integer, _
   ByVal era As Integer _
) As Boolean
[C#]
public override bool IsLeapMonth(
   int year,
   int month,
   int era
);
[C++]
public: override bool IsLeapMonth(
   int year,
   int month,
   int era
);
[JScript]
public override function IsLeapMonth(
   year : int,
   month : int,
   era : int
) : Boolean;

Parameters

year
The year to check.
month
The month to check.
era
The era to check.

Return Value

Returns true if and only if the specified month is a leap month; otherwise false.

See Also

GregorianCalendar Class | GregorianCalendar Members | System.Globalization Namespace