Noda Time
Subtract Method (left, right)
NamespacesNodaTimeInstantSubtract(Instant, Instant)

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

Subtracts one instant from another. Friendly alternative to operator-().
Declaration Syntax
C#Visual BasicVisual C++
public static Duration Subtract(
	Instant left,
	Instant right
)
Public Shared Function Subtract ( _
	left As Instant, _
	right As Instant _
) As Duration
public:
static Duration Subtract(
	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 Duration representing the difference of the given values.

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