IChronoZonedDateTime.ToLocalDate 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 part of this date-time.
[Android.Runtime.Register("toLocalDate", "()Ljava/time/chrono/ChronoLocalDate;", "GetToLocalDateHandler:Java.Time.Chrono.IChronoZonedDateTime, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public virtual Java.Lang.Object? ToLocalDate();
[<Android.Runtime.Register("toLocalDate", "()Ljava/time/chrono/ChronoLocalDate;", "GetToLocalDateHandler:Java.Time.Chrono.IChronoZonedDateTime, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member ToLocalDate : unit -> Java.Lang.Object
override this.ToLocalDate : unit -> Java.Lang.Object
Returns
the date part of this date-time, not null
- Attributes
Remarks
Gets the local date part of this date-time. This returns a local date with the same year, month and day as this date-time.
Java reference for java.time.chrono.ChronoZonedDateTime.toLocalDate.