Noda Time
Subtract Method (time, period)
NamespacesNodaTimeLocalTimeSubtract(LocalTime, Period)

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

Subtracts the specified period from the time. Friendly alternative to operator-().
Declaration Syntax
C#Visual BasicVisual C++
public static LocalTime Subtract(
	LocalTime time,
	Period period
)
Public Shared Function Subtract ( _
	time As LocalTime, _
	period As Period _
) As LocalTime
public:
static LocalTime Subtract(
	LocalTime time, 
	Period^ period
)
Parameters
time (LocalTime)
The time to subtract the period from
period (Period)
The period to subtract. Must not contain any (non-zero) date units.
Return Value
The result of subtracting the given period from the time.

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