OffsetDateTime.minusNanos

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

@param nanos the nanos to subtract, may be negative @return an {@code OffsetDateTime} based on this date-time with the nanoseconds subtracted, not null @throws DateTimeException if the result exceeds the supported date range

class OffsetDateTime
minusNanos
(
long nanos
)

Meta