다음을 통해 공유


OffsetDateTime.Minus Method

Definition

Overloads

Minus(ITemporalAmount)
Minus(Int64, ITemporalUnit)

Minus(ITemporalAmount)

[Android.Runtime.Register("minus", "(Ljava/time/temporal/TemporalAmount;)Ljava/time/OffsetDateTime;", "", ApiSince=26)]
public Java.Time.OffsetDateTime? Minus (Java.Time.Temporal.ITemporalAmount? amountToSubtract);
[<Android.Runtime.Register("minus", "(Ljava/time/temporal/TemporalAmount;)Ljava/time/OffsetDateTime;", "", ApiSince=26)>]
member this.Minus : Java.Time.Temporal.ITemporalAmount -> Java.Time.OffsetDateTime

Parameters

amountToSubtract
ITemporalAmount

Returns

Attributes

Applies to

Minus(Int64, ITemporalUnit)

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

Parameters

amountToSubtract
Int64

Returns

Attributes

Applies to