Noda Time
UnaryNegation Operator
NamespacesNodaTimeDurationUnaryNegation(Duration)
Implements the unary negation operator.
Declaration Syntax
C#Visual BasicVisual C++
public static Duration operator -(
	Duration duration
)
Public Shared Operator - ( 
	duration As Duration
) As Duration
public:
static Duration operator -(
	Duration duration
)
Parameters
duration (Duration)
Duration to negate
Return Value
Duration
The negative value of this duration

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.1.0.0 (1.1.1)