Determines whether the specified year in the specified era is a leap year.
Syntax
public override
bool IsLeapYear (
int year,
int era)
Parameters
- year
-
An integer that represents the year.
- era
-
An integer that represents the era.
Returns
true if the specified year is a leap year; otherwise, false.
Remarks
Requirements
Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0