Noda Time
Add Method (zonedDateTime, duration)
NamespacesNodaTimeZonedDateTimeAdd(ZonedDateTime, Duration)

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

Adds a duration to a zoned date and time. Friendly alternative to operator+().
Declaration Syntax
C#Visual BasicVisual C++
public static ZonedDateTime Add(
	ZonedDateTime zonedDateTime,
	Duration duration
)
Public Shared Function Add ( _
	zonedDateTime As ZonedDateTime, _
	duration As Duration _
) As ZonedDateTime
public:
static ZonedDateTime Add(
	ZonedDateTime zonedDateTime, 
	Duration duration
)
Parameters
zonedDateTime (ZonedDateTime)
The value to add the duration to.
duration (Duration)
The duration to add
Return Value
A new value with the time advanced by the given duration, in the same calendar system and time zone.

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