Period.WithMonths(Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した月数のこの期間のコピーを返します。
[Android.Runtime.Register("withMonths", "(I)Ljava/time/Period;", "", ApiSince=26)]
public Java.Time.Period? WithMonths(int months);
[<Android.Runtime.Register("withMonths", "(I)Ljava/time/Period;", "", ApiSince=26)>]
member this.WithMonths : int -> Java.Time.Period
パラメーター
- months
- Int32
表す月は負の値になる可能性があります。
返品
a Period based on this period with the requested months, not null
- 属性
注釈
追加する。