toLocalDate

fun Int.toLocalDate(): LocalDate

Parse a date from a formatted integer with this format: YYYYMMDD.

Receiver

Number to be converted to a date.

Return

Local date representation of the given number.


fun Date.toLocalDate(): LocalDate

Convert a date to a local date.

Receiver

Date to be converted to a local date.

Return

Local date representation of the given date.