Language

ZonedDateTime.ToLocalDate Method

Definition

Gets the LocalDate part of this date-time.

[Android.Runtime.Register("toLocalDate", "()Ljava/time/LocalDate;", "", ApiSince=26)]
public Java.Time.LocalDate? ToLocalDate();
[<Android.Runtime.Register("toLocalDate", "()Ljava/time/LocalDate;", "", ApiSince=26)>]
member this.ToLocalDate : unit -> Java.Time.LocalDate

Returns

the date part of this date-time, not null

Attributes

Remarks

Gets the LocalDate part of this date-time. This returns a LocalDate with the same year, month and day as this date-time.

Java reference for java.time.ZonedDateTime.toLocalDate.

Applies to