Mono Class Library: System.DateTime Overview | Members

System.DateTime.IsLeapYear Method

Returns a bool value indicating whether a specified year is a leap year. [Edit]

public static bool IsLeapYear (int year)

Parameters

year
A int representing the year. year can be positive or negative. [Edit]

Returns

true if the specified year is a leap year; otherwise, false. [Edit]

Remarks

Documentation for this section has not yet been entered. [Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0