YearMonth.Of メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| Of(Int32, Month) |
年と月から YearMonth のインスタンスを取得します。 |
| Of(Int32, Int32) |
年と月から YearMonth のインスタンスを取得します。 |
Of(Int32, Month)
年と月から YearMonth のインスタンスを取得します。
[Android.Runtime.Register("of", "(ILjava/time/Month;)Ljava/time/YearMonth;", "", ApiSince=26)]
public static Java.Time.YearMonth? Of(int year, Java.Time.Month? month);
[<Android.Runtime.Register("of", "(ILjava/time/Month;)Ljava/time/YearMonth;", "", ApiSince=26)>]
static member Of : int * Java.Time.Month -> Java.Time.YearMonth
パラメーター
- year
- Int32
MIN_YEARからMAX_YEARまでの年
- month
- Month
null ではなく、表す年の月
返品
年月 (null ではない)
- 属性
注釈
年と月から YearMonth のインスタンスを取得します。
適用対象
Of(Int32, Int32)
年と月から YearMonth のインスタンスを取得します。
[Android.Runtime.Register("of", "(II)Ljava/time/YearMonth;", "", ApiSince=26)]
public static Java.Time.YearMonth? Of(int year, int month);
[<Android.Runtime.Register("of", "(II)Ljava/time/YearMonth;", "", ApiSince=26)>]
static member Of : int * int -> Java.Time.YearMonth
パラメーター
- year
- Int32
MIN_YEARからMAX_YEARまでの年
- month
- Int32
1 月 1 日から 12 日 (12 月) までの年の月
返品
年月 (null ではない)
- 属性
注釈
追加する。