Noda Time
Add Method (localDateTime, period)
NamespacesNodaTimeLocalDateTimeAdd(LocalDateTime, Period)

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

Add the specified period to the date and time. Friendly alternative to operator+().
Declaration Syntax
C#Visual BasicVisual C++
public static LocalDateTime Add(
	LocalDateTime localDateTime,
	Period period
)
Public Shared Function Add ( _
	localDateTime As LocalDateTime, _
	period As Period _
) As LocalDateTime
public:
static LocalDateTime Add(
	LocalDateTime localDateTime, 
	Period^ period
)
Parameters
localDateTime (LocalDateTime)
Initial local date and time
period (Period)
Period to add
Return Value
The resulting local date and time

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