adjustDate method
Returns this date/time, with the given date adjuster applied to it, maintaining the existing time of day.
If the adjuster attempts to construct an invalid date (such as by trying to set a day-of-month of 30 in February), any exception thrown by that construction attempt will be propagated through this method.
adjuster
: The adjuster to apply.
Returns: The adjusted date/time.
Implementation
LocalDateTime adjustDate(LocalDate Function(LocalDate) adjuster) => calendarDate.adjust(adjuster).at(clockTime);