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