Język

LocalDateTime.IChronoLocalDateTime.ToLocalDate Method

Definition

Gets the local date part of this date-time.

Java.Lang.Object? IChronoLocalDateTime.ToLocalDate();
abstract member Java.Time.Chrono.IChronoLocalDateTime.ToLocalDate : unit -> Java.Lang.Object
override this.Java.Time.Chrono.IChronoLocalDateTime.ToLocalDate : unit -> Java.Lang.Object

Returns

the date part of this date-time, not null

Implements

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.ChronoLocalDateTime.toLocalDate.

Applies to