Noda Time
ZonedDateTime Constructor (localDateTime, zone, offset)
NamespacesNodaTimeZonedDateTimeZonedDateTime(LocalDateTime, DateTimeZone, Offset)

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

Initializes a new instance of the ZonedDateTime struct in the specified time zone from a given local time and offset. The offset is validated to be correct as part of initialization. In most cases a local time can only map to a single instant anyway, but the offset is included here for cases where the local time is ambiguous, usually due to daylight saving transitions.
Declaration Syntax
C#Visual BasicVisual C++
public ZonedDateTime(
	LocalDateTime localDateTime,
	DateTimeZone zone,
	Offset offset
)
Public Sub New ( _
	localDateTime As LocalDateTime, _
	zone As DateTimeZone, _
	offset As Offset _
)
public:
ZonedDateTime(
	LocalDateTime localDateTime, 
	DateTimeZone^ zone, 
	Offset offset
)
Parameters
localDateTime (LocalDateTime)
The local date and time.
zone (DateTimeZone)
The time zone.
offset (Offset)
The offset between UTC and local time at the desired instant.
Exceptions
ExceptionCondition
ArgumentNullExceptionzone is null.
ArgumentExceptionoffset is not a valid offset at the given local date and time.

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