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.IsLeapDay

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

[Visual Basic]
Overrides Public Function IsLeapDay( _
   ByVal year As Integer, _
   ByVal month As Integer, _
   ByVal day As Integer, _
   ByVal era As Integer _
) As Boolean
[C#]
public override bool IsLeapDay(
   int year,
   int month,
   int day,
   int era
);
[C++]
public: override bool IsLeapDay(
   int year,
   int month,
   int day,
   int era
);
[JScript]
public override 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

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

See Also

GregorianCalendar Class | GregorianCalendar Members | System.Globalization Namespace