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