[This is preliminary documentation and is subject to change.]
Resolves the result of attempting to map a local date and time to a target time zone.

C# | Visual Basic | Visual C++ |
public delegate ZonedDateTime ZoneLocalMappingResolver( ZoneLocalMapping mapping )
Public Delegate Function ZoneLocalMappingResolver ( _ mapping As ZoneLocalMapping _ ) As ZonedDateTime
public delegate ZonedDateTime ZoneLocalMappingResolver( ZoneLocalMapping^ mapping )

- mapping (ZoneLocalMapping)
- The intermediate result of mapping a local time to a target time zone.

A ZonedDateTime in the target time zone.

This delegate is consumed by InZone(DateTimeZone, ZoneLocalMappingResolver) and ResolveLocal(LocalDateTime, ZoneLocalMappingResolver), among others. It provides the strategy for converting a ZoneLocalMapping (the result of attempting to map a local date and time to a target time zone) to a ZonedDateTime.
See the Resolvers class for predefined implementations and a way of combining separate SkippedTimeResolver and AmbiguousTimeResolver values.

Exception | Condition |
---|---|
AmbiguousTimeException | The implementation rejects requests to map ambiguous times. |
SkippedTimeException | The implementation rejects requests to map skipped times. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)