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, Int32)

Checks whether a specified day in the specified era

is a leap day.

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

Parameters

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

Return Value

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

See Also

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