EastAsianLunisolarCalendar.IsLeapMonth(Int32, Int32, Int32) 方法

定义

确定指定纪元年份中的指定月份是否为闰月。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

参数

year
Int32

一个整数,用于表示年份。An integer that represents the year.

month
Int32

1 到 13 之间的一个整数,用于表示月。An integer from 1 through 13 that represents the month.

era
Int32

一个整数,用于表示纪元。An integer that represents the era.

返回

如果 month 参数是闰月,则为 true;否则为 falsetrue if the month parameter is a leap month; otherwise, false.

异常

yearmonthera 超出了此日历支持的范围。year, month, or era is outside the range supported by this calendar.

适用于