LocalDateTime.WithMinute(Int32) Method

Definition

Returns a copy of this LocalDateTime with the minute-of-hour altered.

[Android.Runtime.Register("withMinute", "(I)Ljava/time/LocalDateTime;", "", ApiSince=26)]
public Java.Time.LocalDateTime? WithMinute(int minute);
[<Android.Runtime.Register("withMinute", "(I)Ljava/time/LocalDateTime;", "", ApiSince=26)>]
member this.WithMinute : int -> Java.Time.LocalDateTime

Parameters

minute
Int32

the minute-of-hour to set in the result, from 0 to 59

Returns

a LocalDateTime based on this date-time with the requested minute, not null

Attributes

Remarks

To be added.

Java reference for java.time.LocalDateTime.withMinute.

Applies to