public Duration subtract ( long duration , TimeUnit unit ) { long durationInNanos = TimeUnit . NANOSECONDS . convert ( duration , unit ) ; return new Duration ( this . durationInNanos - durationInNanos ) ; }
Subtract the supplied duration from this duration and return the result .