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