[]
Determines whether the specified year in the specified era is a leap year.
public override bool IsLeapYear(int year, int era)
Type | Name | Description |
---|---|---|
int | year | An integer that represents the year. |
int | era | An integer that represents the era. |
Type | Description |
---|---|
bool | true, if the specified year is a leap year; otherwise, false. |
Type | Condition |
---|---|
ArgumentOutOfRangeException | year is outside the range supported by the calendar. -or- era is outside the range supported by the calendar. |