YearMonth.WithMonth(Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
年の月が変更されたこの YearMonth のコピーを返します。
[Android.Runtime.Register("withMonth", "(I)Ljava/time/YearMonth;", "", ApiSince=26)]
public Java.Time.YearMonth? WithMonth(int month);
[<Android.Runtime.Register("withMonth", "(I)Ljava/time/YearMonth;", "", ApiSince=26)>]
member this.WithMonth : int -> Java.Time.YearMonth
パラメーター
- month
- Int32
1 月から 12 日 (12 月) に、返された年の月に設定する年の月。
返品
要求された月で、null ではなく、今年の月に基づく YearMonth
- 属性
注釈
追加する。