EastAsianLunisolarCalendar.GetTerrestrialBranch(Int32) メソッド

定義

干支 (60 年周期) における指定した年の地支を計算します。

public:
 int GetTerrestrialBranch(int sexagenaryYear);
public int GetTerrestrialBranch (int sexagenaryYear);
member this.GetTerrestrialBranch : int -> int
Public Function GetTerrestrialBranch (sexagenaryYear As Integer) As Integer

パラメーター

sexagenaryYear
Int32

干支における年を表す 1 ~ 60 の整数。

戻り値

Int32

1 ~ 12 の整数。

例外

sexagenaryYear が 1 より小さいか、または 60 を超えています。

適用対象