Noda Time
Subtraction Operator
NamespacesNodaTimeLocalTimeSubtraction(LocalTime, Period)

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

Creates a new local time by subtracting a period from an existing time. The period must not contain any date-related units (days etc) with non-zero values.
Declaration Syntax
C#Visual BasicVisual C++
public static LocalTime operator -(
	LocalTime time,
	Period period
)
Public Shared Operator - ( _
	time As LocalTime, _
	period As Period _
) As LocalTime
public:
static LocalTime operator -(
	LocalTime time, 
	Period^ period
)
Parameters
time (LocalTime)
The time to subtract the period from
period (Period)
The period to subtract
Return Value
The result of subtract the period from the time, wrapping via midnight if necessary

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