LocalTime.PlusMinutes(Int64) Method

Definition

Returns a copy of this LocalTime with the specified number of minutes added.

[Android.Runtime.Register("plusMinutes", "(J)Ljava/time/LocalTime;", "", ApiSince=26)]
public Java.Time.LocalTime? PlusMinutes(long minutesToAdd);
[<Android.Runtime.Register("plusMinutes", "(J)Ljava/time/LocalTime;", "", ApiSince=26)>]
member this.PlusMinutes : int64 -> Java.Time.LocalTime

Parameters

minutesToAdd
Int64

the minutes to add, may be negative

Returns

a LocalTime based on this time with the minutes added, not null

Attributes

Remarks

Returns a copy of this LocalTime with the specified number of minutes added. This adds the specified number of minutes to this time, returning a new time. The calculation wraps around midnight. This instance is immutable and unaffected by this method call.

Java reference for java.time.LocalTime.plusMinutes.

Applies to