Noda Time
Subtract Method (minuend, subtrahend)
NamespacesNodaTimeOffsetSubtract(Offset, Offset)

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

Subtracts one Offset from another. Friendly alternative to operator-().
Declaration Syntax
C#Visual BasicVisual C++
public static Offset Subtract(
	Offset minuend,
	Offset subtrahend
)
Public Shared Function Subtract ( _
	minuend As Offset, _
	subtrahend As Offset _
) As Offset
public:
static Offset Subtract(
	Offset minuend, 
	Offset subtrahend
)
Parameters
minuend (Offset)
The left hand side of the operator.
subtrahend (Offset)
The right hand side of the operator.
Return Value
A new Offset representing the difference of the given values.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe result of the operation is outside the range of Offset.
ArgumentOutOfRangeExceptionThe result of the operation is outside the range of Offset.

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