public Duration add ( long duration , TimeUnit unit ) { long durationInNanos = TimeUnit . NANOSECONDS . convert ( duration , unit ) ; return new Duration ( this . durationInNanos + durationInNanos ) ; }
Add the supplied duration to this duration and return the result .