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
The negative value of this duration

Assembly: NodaTime (Module: NodaTime) Version: 1.0.0.0 (1.0.1)