Extensions for java.util.Date

toLocalDateTime

fun Date.toLocalDateTime(): LocalDateTime

Creates LocalDateTime from this Date

toZonedDateTime

fun Date.toZonedDateTime(): ZonedDateTime

Creates ZonedDateTime from this Date