EastAsianLunisolarCalendar.GetDaysInYear(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.