ZonedDateTime.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 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.