Noda Time
Addition Operator
NamespacesNodaTimeLocalTimeAddition(LocalTime, Period)

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

Creates a new local time by adding a period to 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 add the period to
period (Period)
The period to add
Return Value
The result of adding the period to the time, wrapping via midnight if necessary

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