Noda Time
Subtraction Operator
NamespacesNodaTimeInstantSubtraction(Instant, Duration)

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

Implements the operator - (subtraction) for Instant - Duration.
Declaration Syntax
C#Visual BasicVisual C++
public static Instant operator -(
	Instant left,
	Duration right
)
Public Shared Operator - ( _
	left As Instant, _
	right As Duration _
) As Instant
public:
static Instant operator -(
	Instant left, 
	Duration right
)
Parameters
left (Instant)
The left hand side of the operator.
right (Duration)
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)