次の方法で共有


Duration.Plus Method

Definition

Overloads

Plus(Duration)
Plus(Int64, ITemporalUnit)

Plus(Duration)

[Android.Runtime.Register("plus", "(Ljava/time/Duration;)Ljava/time/Duration;", "", ApiSince=26)]
public Java.Time.Duration? Plus (Java.Time.Duration? duration);
[<Android.Runtime.Register("plus", "(Ljava/time/Duration;)Ljava/time/Duration;", "", ApiSince=26)>]
member this.Plus : Java.Time.Duration -> Java.Time.Duration

Parameters

duration
Duration

Returns

Attributes

Applies to

Plus(Int64, ITemporalUnit)

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

Parameters

amountToAdd
Int64

Returns

Attributes

Applies to