Subtract
Subtract (1 of 2)
Subtracts specified double value from this duration instance.
Returns: New duration object that represents the value of this instance minus the specified duration value.
Subtract(double val)
| Parameter | Description |
|---|---|
| val | specified double value to subtract from this instance. |
Subtract (2 of 2)
Subtracts specified duration from this duration instance.
Returns: New duration object that represents the value of this instance minus the specified duration value.
Subtract(Duration d)
| Parameter | Description |
|---|---|
| d | the specified Duration instance to subtract from this instance. |