Noda Time
Add Method (time, period)
NamespacesNodaTimeLocalTimeAdd(LocalTime, Period)

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

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

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