LocalTime.WithNano(Int32) Method

Definition

Returns a copy of this LocalTime with the nano-of-second altered.

[Android.Runtime.Register("withNano", "(I)Ljava/time/LocalTime;", "", ApiSince=26)]
public Java.Time.LocalTime? WithNano(int nanoOfSecond);
[<Android.Runtime.Register("withNano", "(I)Ljava/time/LocalTime;", "", ApiSince=26)>]
member this.WithNano : int -> Java.Time.LocalTime

Parameters

nanoOfSecond
Int32

the nano-of-second to set in the result, from 0 to 999,999,999

Returns

a LocalTime based on this time with the requested nanosecond, not null

Attributes

Remarks

To be added.

Java reference for java.time.LocalTime.withNano.

Applies to