共用方式為


YearMonth.Plus 方法

定義

多載

Plus(Int64, ITemporalUnit)
Plus(ITemporalAmount)

Plus(Int64, ITemporalUnit)

[Android.Runtime.Register("plus", "(JLjava/time/temporal/TemporalUnit;)Ljava/time/YearMonth;", "", ApiSince=26)]
public Java.Time.Temporal.ITemporal? Plus (long amountToAdd, Java.Time.Temporal.ITemporalUnit? unit);
[<Android.Runtime.Register("plus", "(JLjava/time/temporal/TemporalUnit;)Ljava/time/YearMonth;", "", ApiSince=26)>]
abstract member Plus : int64 * Java.Time.Temporal.ITemporalUnit -> Java.Time.Temporal.ITemporal
override this.Plus : int64 * Java.Time.Temporal.ITemporalUnit -> Java.Time.Temporal.ITemporal

參數

amountToAdd
Int64

傳回

實作

屬性

適用於

Plus(ITemporalAmount)

[Android.Runtime.Register("plus", "(Ljava/time/temporal/TemporalAmount;)Ljava/time/YearMonth;", "", ApiSince=26)]
public Java.Time.YearMonth? Plus (Java.Time.Temporal.ITemporalAmount? amountToAdd);
[<Android.Runtime.Register("plus", "(Ljava/time/temporal/TemporalAmount;)Ljava/time/YearMonth;", "", ApiSince=26)>]
member this.Plus : Java.Time.Temporal.ITemporalAmount -> Java.Time.YearMonth

參數

amountToAdd
ITemporalAmount

傳回

屬性

適用於