atDate method

LocalDateTime atDate(
  1. LocalDate date
)

Combines this LocalTime with the given LocalDate into a single LocalDateTime. Fluent alternative to operator+().

  • date: The date to combine with this time

Returns: The LocalDateTime representation of the given time on this date

Implementation

LocalDateTime atDate(LocalDate date) => LocalDateTime.localDateAtTime(date, this);