Noda Time
Subtraction Operator
NamespacesNodaTimeDurationSubtraction(Duration, Duration)
Implements the operator - (subtraction).
Declaration Syntax
C#Visual BasicVisual C++
public static Duration operator -(
	Duration left,
	Duration right
)
Public Shared Operator - ( 
	left As Duration,
	right As Duration
) As Duration
public:
static Duration operator -(
	Duration left, 
	Duration right
)
Parameters
left (Duration)
The left hand side of the operator.
right (Duration)
The right hand side of the operator.
Return Value
Duration
A new Duration representing the difference of the given values.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)