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

定義

判斷指定年份和紀元中的指定月份是否為閏月。

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

表示年份的整數。

month
Int32

從 1 到 13 的整數,表示月份。

era
Int32

表示紀元的整數。

傳回

如果 month 參數是閏月,則為 true,否則為 false

例外狀況

yearmonthera 在這個日曆支援的範圍之外。

適用於