Duration.plus

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

@param duration the duration to add, positive or negative, not null @return a {@code Duration} based on this duration with the specified duration added, not null @throws ArithmeticException if numeric overflow occurs

  1. Duration plus(Duration duration)
    class Duration
  2. Duration plus(long amountToAdd, TemporalUnit unit)

Meta