Breyta

Deila með


EastAsianLunisolarCalendar.GetDaysInYear(Int32, Int32) Method

Definition

Calculates the number of days in the specified year and era.

public:
 override int GetDaysInYear(int year, int era);
public override int GetDaysInYear (int year, int era);
override this.GetDaysInYear : int * int -> int
Public Overrides Function GetDaysInYear (year As Integer, era As Integer) As Integer

Parameters

year
Int32

An integer that represents the year.

era
Int32

An integer that represents the era.

Returns

The number of days in the specified year and era.

Exceptions

year or era is outside the range supported by this calendar.

Remarks

The GetDaysInYear method returns 365 or 366, depending on whether the year parameter is a leap year.

Applies to