Language

ZonedDateTime.MinusMinutes(Int64) Method

Definition

Returns a copy of this ZonedDateTime with the specified number of minutes subtracted.

[Android.Runtime.Register("minusMinutes", "(J)Ljava/time/ZonedDateTime;", "", ApiSince=26)]
public Java.Time.ZonedDateTime? MinusMinutes(long minutes);
[<Android.Runtime.Register("minusMinutes", "(J)Ljava/time/ZonedDateTime;", "", ApiSince=26)>]
member this.MinusMinutes : int64 -> Java.Time.ZonedDateTime

Parameters

minutes
Int64

the minutes to subtract, may be negative

Returns

a ZonedDateTime based on this date-time with the minutes subtracted, not null

Attributes

Remarks

Returns a copy of this ZonedDateTime with the specified number of minutes subtracted. This operates on the instant time-line, such that subtracting one minute will always be a duration of one minute earlier. This may cause the local date-time to change by an amount other than one minute. Note that this is a different approach to that used by days, months and years. This instance is immutable and unaffected by this method call.

Java reference for java.time.ZonedDateTime.minusMinutes.

Applies to