Noda Time
ResolveLocal Method (localDateTime, resolver)
NamespacesNodaTimeDateTimeZoneResolveLocal(LocalDateTime, ZoneLocalMappingResolver)
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
ZonedDateTime ResolveLocal(
	LocalDateTime localDateTime, 
	ZoneLocalMappingResolver^ resolver
localDateTime (LocalDateTime)

[Missing <param name="localDateTime"/> documentation for "M:NodaTime.DateTimeZone.ResolveLocal(NodaTime.LocalDateTime,NodaTime.TimeZones.ZoneLocalMappingResolver)"]

resolver (ZoneLocalMappingResolver)
The resolver to apply to the mapping.
Return Value
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.

ArgumentNullExceptionresolver is null

Assembly: NodaTime (Module: NodaTime) Version: (1.0.1)