Noda Time
UnaryNegation Operator
NamespacesNodaTimeOffsetUnaryNegation(Offset)

[This is preliminary documentation and is subject to change.]

Implements the unary operator - (negation).
Declaration Syntax
C#Visual BasicVisual C++
public static Offset operator -(
	Offset offset
)
Public Shared Operator - ( _
	offset As Offset _
) As Offset
public:
static Offset operator -(
	Offset offset
)
Parameters
offset (Offset)
The offset to negate.
Return Value
A new Offset instance with a negated value.

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