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