[]
Returns the number of days in the specified year in the specified era.
public override int GetDaysInYear(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 |
---|---|
int | The number of days in the specified year in the specified era. |
Type | Condition |
---|---|
ArgumentOutOfRangeException | year is outside the range supported by the calendar.-or- era is outside the range supported by the calendar. |