[This is preliminary documentation and is subject to change.]
Maps the given LocalDateTime to the corresponding ZonedDateTime, following
the given ZoneLocalMappingResolver to handle ambiguity and skipped times.

C# | Visual Basic | Visual C++ |
public ZonedDateTime ResolveLocal( LocalDateTime localDateTime, ZoneLocalMappingResolver resolver )
Public Function ResolveLocal ( _ localDateTime As LocalDateTime, _ resolver As ZoneLocalMappingResolver _ ) As ZonedDateTime
public: ZonedDateTime ResolveLocal( LocalDateTime localDateTime, ZoneLocalMappingResolver^ resolver )

- localDateTime (LocalDateTime)
- The local date and time to map in this time zone.
- resolver (ZoneLocalMappingResolver)
- The resolver to apply to the mapping.

The result of resolving the mapping.

This is a convenience method for calling MapLocal(LocalDateTime) and passing the result to the resolver. Common options for resolvers are provided in the static Resolvers class.
See AtStrictly(LocalDateTime) and AtLeniently(LocalDateTime) for alternative ways to map a local time to a specific instant.

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