Редагувати

Поділитися через


EastAsianLunisolarCalendar.IsLeapYear(Int32, Int32) Method

Definition

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