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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.