toDate

fun ZonedDateTime.toDate(): Date

Convert a zoned date time to a date.

Receiver

Zoned date time to be converted to a date.

Return

Date representation of the given zoned date time.


fun LocalDateTime.toDate(): Date

Convert a local date time to a date.

Receiver

Local date time to be converted to a date.

Return

Date representation of the given local date time.


fun LocalDate.toDate(): Date

Convert a local date to a date.

Receiver

Local date to be converted to a date.

Return

Date representation of the given local date.