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