Upraviť

Zdieľať cez


EastAsianLunisolarCalendar.IsLeapMonth(Int32, Int32, Int32) Method

Definition

Determines whether the specified month in the specified year and era is a leap month.

public:
 override bool IsLeapMonth(int year, int month, int era);
public override bool IsLeapMonth (int year, int month, int era);
override this.IsLeapMonth : int * int * int -> bool
Public Overrides Function IsLeapMonth (year As Integer, month As Integer, era As Integer) As Boolean

Parameters

year
Int32

An integer that represents the year.

month
Int32

An integer from 1 through 13 that represents the month.

era
Int32

An integer that represents the era.

Returns

true if the month parameter is a leap month; otherwise, false.

Exceptions

year, month, or era is outside the range supported by this calendar.

Applies to