Join LocalDate and LocalTime Into LocalDateTime

July 24, 2018
val localDateTime = LocalDateTime.of(localDate, localTime)

You can get LocalDate or LocalTime from LocalDateTime as well.

localDateTime.toLocalTime()
localDateTime.toLocalDate()
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.