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!

Calendar.IsLeapMonth (Int32, Int32, Int32)

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

[Visual Basic]
Overloads MustOverride Public Function IsLeapMonth( _
   ByVal year As Integer, _
   ByVal month As Integer, _
   ByVal era As Integer _
) As Boolean
[C#]
public abstract bool IsLeapMonth(
   int year,
   int month,
   int era
);
[C++]
public: virtual bool IsLeapMonth(
   int year,
   int month,
   int era
) = 0;
[JScript]
public abstract 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

true if and only if [RB36] the specified day is a leap day; otherwise, false.

See Also

Calendar Class | Calendar Members | System.Globalization Namespace | Calendar.IsLeapMonth Overload List