Search
Duration.subtract Method
See Also
 






Returns a new Duration object whose value is the difference between the specified Duration object and this instance.

Namespace: com.mindfusion.common
File: com.mindfusion.common

 Syntax

Java  Copy Code

public Duration subtract (
    Duration duration
)

 Parameters

duration

A Duration.

 Return Value

A new time interval whose value is the result of the value of this instance minus the value of duration.

 See Also