code: public Duration add( Duration duration ) {
          return new Duration(this.durationInNanos + (duration == null ? 0l : duration.longValue()));
      }
docs: Add the supplied duration to this duration, and return the result. A null value is treated as a duration of 0 nanoseconds.
  
  @param duration the duration to add to this object
  @return the total duration