Noda Time
AtLeniently Method (localDateTime)
Maps the given LocalDateTime to the corresponding ZonedDateTime in a lenient manner: 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 AtLeniently(
	LocalDateTime localDateTime
Public Function AtLeniently ( 
	localDateTime As LocalDateTime
) As ZonedDateTime
ZonedDateTime AtLeniently(
	LocalDateTime localDateTime
localDateTime (LocalDateTime)
The local date/time to map.
Return Value
The unambiguous mapping if there is one, the later result if the mapping is ambiguous, or the start of the later zone interval if the given local date/time is skipped.
See AtStrictly(LocalDateTime) and ResolveLocal(LocalDateTime, ZoneLocalMappingResolver) for alternative ways to map a local time to a specific instant.

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