[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.

C# | Visual Basic | Visual C++ |
public ZonedDateTime InZone( DateTimeZone zone )
Public Function InZone ( _ zone As DateTimeZone _ ) As ZonedDateTime
public: ZonedDateTime InZone( DateTimeZone^ zone )

- zone (DateTimeZone)
- The time zone in which to represent this instant.

A ZonedDateTime for the same instant, in the given time zone
and the ISO-8601 calendar

Exception | Condition |
---|---|
ArgumentNullException | zone is null. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)