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

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

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

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

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