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

定义

确定指定纪元中的指定日期是否为闰日。Determines whether the specified date in the specified era is a leap day.

public:
 override bool IsLeapDay(int year, int month, int day, int era);
public override bool IsLeapDay (int year, int month, int day, int era);
override this.IsLeapDay : int * int * int * int -> bool
Public Overrides Function IsLeapDay (year As Integer, month As Integer, day 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.

day
Int32

1 到 31 之间的一个整数,用于表示日。An integer from 1 through 31 that represents the day.

era
Int32

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

返回

如果指定的日期是闰日,则为 true;否则为 falsetrue if the specified day is a leap day; otherwise, false.

异常

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

适用于