TaiwanCalendar.GetLeapMonth(Int32, Int32) メソッド

定義

指定された年と時代 (年号) の閏月を計算します。

public:
 override int GetLeapMonth(int year, int era);
public override int GetLeapMonth (int year, int era);
[System.Runtime.InteropServices.ComVisible(false)]
public override int GetLeapMonth (int year, int era);
override this.GetLeapMonth : int * int -> int
[<System.Runtime.InteropServices.ComVisible(false)>]
override this.GetLeapMonth : int * int -> int
Public Overrides Function GetLeapMonth (year As Integer, era As Integer) As Integer

パラメーター

year
Int32

年。

era
Int32

時代 (年号)。

戻り値

TaiwanCalendar クラスでは閏月の概念がサポートされないため、戻り値は常に 0 です。

属性

注釈

閏月の概念をサポートするカレンダーでは、閏月は、特定の月の後または 1 年の任意の月の後に発生する可能性があります。 たとえば、 メソッドは GetMonth 、指定した日付に関連付けられている月を示す 1 ~ 13 の数値を返します。 年の 8 か月目から 9 か月目の間にうるう月がある場合、 GetMonth メソッドは 8 か月目に 8、うるう 8 か月目に 9、9 月目に 10 を返します。

適用対象