[This is preliminary documentation and is subject to change.]
Resolves this local date and time into a ZonedDateTime in the given time zone, following
the given ZoneLocalMappingResolver to handle ambiguity and skipped times.

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

- zone (DateTimeZone)
- The time zone to map this local date and time into
- resolver (ZoneLocalMappingResolver)
- The resolver to apply to the mapping.

The result of resolving the mapping.

This is a convenience method for calling ResolveLocal(LocalDateTime, ZoneLocalMappingResolver).

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