atTime

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

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.


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.