Share via


IChronoLocalDateTime.ToLocalDate Method

Definition

Gets the local date part of this date-time.

[Android.Runtime.Register("toLocalDate", "()Ljava/time/chrono/ChronoLocalDate;", "GetToLocalDateHandler:Java.Time.Chrono.IChronoLocalDateTimeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public Java.Lang.Object? ToLocalDate ();
[<Android.Runtime.Register("toLocalDate", "()Ljava/time/chrono/ChronoLocalDate;", "GetToLocalDateHandler:Java.Time.Chrono.IChronoLocalDateTimeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member 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 documentation for java.time.chrono.ChronoLocalDateTime.toLocalDate().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to