Language

IChronoZonedDateTime.ToLocalTime Method

Definition

Gets the local time part of this date-time.

[Android.Runtime.Register("toLocalTime", "()Ljava/time/LocalTime;", "GetToLocalTimeHandler:Java.Time.Chrono.IChronoZonedDateTime, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public virtual Java.Time.LocalTime? ToLocalTime();
[<Android.Runtime.Register("toLocalTime", "()Ljava/time/LocalTime;", "GetToLocalTimeHandler:Java.Time.Chrono.IChronoZonedDateTime, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member ToLocalTime : unit -> Java.Time.LocalTime
override this.ToLocalTime : unit -> Java.Time.LocalTime

Returns

the time part of this date-time, not null

Attributes

Remarks

Gets the local time part of this date-time. This returns a local time with the same hour, minute, second and nanosecond as this date-time.

Java reference for java.time.chrono.ChronoZonedDateTime.toLocalTime.

Applies to