Returns a copy of this LocalDateTime with the hour-of-day altered.
This instance is immutable and unaffected by this method call.
hour | the hour-of-day to set in the result, from 0 to 23 |
LocalDateTime based on this date-time with the requested hour, not null
DateTimeException | if the hour value is invalid |
Diagram: LocalDateTime