次の方法で共有


Duration.Minus Method

Definition

Overloads

Minus(Int64, ITemporalUnit)
Minus(Duration)

Minus(Int64, ITemporalUnit)

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

Parameters

amountToSubtract
Int64

Returns

Attributes

Applies to

Minus(Duration)

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

Parameters

duration
Duration

Returns

Attributes

Applies to