OffsetDateTime.plusNanos

Returns a copy of this {@code OffsetDateTime} with the specified number of nanoseconds added. !(p) This instance is immutable and unaffected by this method call.

@param nanos the nanos to add, may be negative @return an {@code OffsetDateTime} based on this date-time with the nanoseconds added, not null @throws DateTimeException if the unit cannot be added to this type

class OffsetDateTime
plusNanos
(
long nanos
)

Meta