DateTimeZone ResolveLocal Method Noda Time
Maps the given LocalDateTime to the corresponding ZonedDateTime, following the given ZoneLocalMappingResolver to handle ambiguity and skipped times.

Namespace: NodaTime
Assembly: NodaTime (in NodaTime.dll) Version: 1.3.0.0 (1.3.1)
Syntax

public ZonedDateTime ResolveLocal(
	LocalDateTime localDateTime,
	ZoneLocalMappingResolver resolver
)

Return Value

Type: ZonedDateTime
The result of resolving the mapping.
Exceptions

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.

Version Information

Available since: 1.0.0
Supported in the PCL? Yes
See Also