[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".

C# | Visual Basic | Visual C++ |
public ZonedDateTime InZoneLeniently( DateTimeZone zone )
Public Function InZoneLeniently ( _ zone As DateTimeZone _ ) As ZonedDateTime
public: ZonedDateTime InZoneLeniently( DateTimeZone^ zone )

- zone (DateTimeZone)
- The time zone in which to map this local date/time.

The result of mapping this local date/time in the given time zone.

This is solely a convenience method for calling AtLeniently(LocalDateTime).

Exception | Condition |
---|---|
ArgumentNullException | zone is null. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)