Noda Time
Subtraction Operator
NamespacesNodaTimeInstantSubtraction(Instant, Instant)

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

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

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