EastAsianLunisolarCalendar.GetDaysInMonth(Int32, Int32, Int32) メソッド

定義

指定した年と時代 (年号) の指定した月の日数を計算します。

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

パラメーター

year
Int32

年を表す整数。

month
Int32

月を表す 1 ~ 12 の整数 (平年の場合) または 1 ~ 13 の整数 (閏年の場合)。

era
Int32

時代 (年号) を表す整数。

戻り値

Int32

指定した年と時代 (年号) の指定した月の日数。

例外

yearmonth、または era がこの暦でサポートされている範囲外の値です。

注釈

パラメーターが month 2 か月目の場合、 GetDaysInMonth パラメーターが閏年かどうかに応じて、メソッドは 28 または 29 を year 返します。

適用対象