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

Checks [RB38] whether a specified year in the current era is a leap year.

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

Parameters

year
The year to check.

Return Value

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

See Also

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