Instant.plusNanos

Returns a copy of this instant with the specified duration _in nanoseconds added. !(p) This instance is immutable and unaffected by this method call.

@param nanosToAdd the nanoseconds to add, positive or negative @return an {@code Instant} based on this instant with the specified nanoseconds added, not null @throws DateTimeException if the result exceeds the maximum or minimum instant @throws ArithmeticException if numeric overflow occurs

class Instant
plusNanos
()

Meta