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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.