Noda Time
InZone Method (zone)
NamespacesNodaTimeInstantInZone(DateTimeZone)

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

Returns the ZonedDateTime representing the same point in time as this instant, in the specified time zone and ISO-8601 calendar.
Declaration Syntax
C#Visual BasicVisual C++
public ZonedDateTime InZone(
	DateTimeZone zone
)
Public Function InZone ( _
	zone As DateTimeZone _
) As ZonedDateTime
public:
ZonedDateTime InZone(
	DateTimeZone^ zone
)
Parameters
zone (DateTimeZone)
The time zone in which to represent this instant.
Return Value
A ZonedDateTime for the same instant, in the given time zone and the ISO-8601 calendar
Exceptions
ExceptionCondition
ArgumentNullExceptionzone is null.

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