Noda Time
ResolveLocal Method (localDateTime, resolver)
NamespacesNodaTimeDateTimeZoneResolveLocal(LocalDateTime, ZoneLocalMappingResolver)

[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.
Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
localDateTime (LocalDateTime)
The local date and time to map in this time zone.
resolver (ZoneLocalMappingResolver)
The resolver to apply to the mapping.
Return Value
The result of resolving the mapping.
Remarks

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.

Exceptions
ExceptionCondition
ArgumentNullExceptionresolver is null.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)