Noda Time
InZoneLeniently Method (zone)
NamespacesNodaTimeLocalDateTimeInZoneLeniently(DateTimeZone)

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

Returns the mapping of this local date/time within the given DateTimeZone, with "lenient" rules applied such that ambiguous values map to the later of the alternatives, and "skipped" values map to the start of the zone interval after the "gap".
Declaration Syntax
C#Visual BasicVisual C++
public ZonedDateTime InZoneLeniently(
	DateTimeZone zone
)
Public Function InZoneLeniently ( _
	zone As DateTimeZone _
) As ZonedDateTime
public:
ZonedDateTime InZoneLeniently(
	DateTimeZone^ zone
)
Parameters
zone (DateTimeZone)
The time zone in which to map this local date/time.
Return Value
The result of mapping this local date/time in the given time zone.
Remarks
This is solely a convenience method for calling AtLeniently(LocalDateTime).
Exceptions
ExceptionCondition
ArgumentNullExceptionzone is null.

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