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.IsLeapDay (Int32, Int32, Int32)

Checks [RB32] whether a specified day in the current era is a leap day.

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

Parameters

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

Return Value

true if the specified day is a leap day; otherwise, false.

See Also

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