IChronoZonedDateTime.ToLocalDateTime Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the local date-time part of this date-time.
[Android.Runtime.Register("toLocalDateTime", "()Ljava/time/chrono/ChronoLocalDateTime;", "GetToLocalDateTimeHandler:Java.Time.Chrono.IChronoZonedDateTimeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public Java.Time.Chrono.IChronoLocalDateTime? ToLocalDateTime();
[<Android.Runtime.Register("toLocalDateTime", "()Ljava/time/chrono/ChronoLocalDateTime;", "GetToLocalDateTimeHandler:Java.Time.Chrono.IChronoZonedDateTimeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member ToLocalDateTime : unit -> Java.Time.Chrono.IChronoLocalDateTime
Returns
the local date-time part of this date-time, not null
- Attributes
Remarks
Gets the local date-time part of this date-time. This returns a local date-time with the same year, month, day, hour, minute, second and nanosecond as this date-time.
Java reference for java.time.chrono.ChronoZonedDateTime.toLocalDateTime.