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)

Checks [RB35] whether a specified month in the current era is a leap month.

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

Parameters

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

Return Value

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

See Also

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