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 from 1 through 9378 that represents the year.
- era
-
An integer from 0 through 1 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