atTime

fun LocalDate.atTime(    hour: Int,     minute: Int,     second: Int = 0,     nanosecond: Int = 0): LocalDateTime

Combines this date's components with the specified time components into a LocalDateTime value.

For finding an instant that corresponds to the start of a date in a particular time zone consider using LocalDate.atStartOfDayIn function because a day does not always start at the fixed time 0:00:00.


fun LocalDate.atTime(time: LocalTime): LocalDateTime

Combines this date's components with the specified LocalTime components into a LocalDateTime value.

For finding an instant that corresponds to the start of a date in a particular time zone consider using LocalDate.atStartOfDayIn function because a day does not always start at the fixed time 0:00:00.