Noda Time
InZone Method (zone, resolver)
NamespacesNodaTimeLocalDateTimeInZone(DateTimeZone, ZoneLocalMappingResolver)

[This is preliminary documentation and is subject to change.]

Resolves this local date and time into a ZonedDateTime in the given time zone, following the given ZoneLocalMappingResolver to handle ambiguity and skipped times.
Declaration Syntax
C#Visual BasicVisual C++
public ZonedDateTime InZone(
	DateTimeZone zone,
	ZoneLocalMappingResolver resolver
)
Public Function InZone ( _
	zone As DateTimeZone, _
	resolver As ZoneLocalMappingResolver _
) As ZonedDateTime
public:
ZonedDateTime InZone(
	DateTimeZone^ zone, 
	ZoneLocalMappingResolver^ resolver
)
Parameters
zone (DateTimeZone)
The time zone to map this local date and time into
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 ResolveLocal(LocalDateTime, ZoneLocalMappingResolver).
Exceptions
ExceptionCondition
ArgumentNullExceptionzone or resolver is null.

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