EastAsianLunisolarCalendar.IsLeapYear(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.
Determines whether the specified year in the specified era is a leap year.
public:
override bool IsLeapYear(int year, int era);
public override bool IsLeapYear (int year, int era);
override this.IsLeapYear : int * int -> bool
Public Overrides Function IsLeapYear (year As Integer, era As Integer) As Boolean
Parameters
- year
- Int32
An integer that represents the year.
- era
- Int32
An integer that represents the era.
Returns
true
if the specified year is a leap year; otherwise, false
.
Exceptions
year
or era
is outside the range supported by this calendar.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.