Noda Time
AtLeniently Method (localDateTime)
NamespacesNodaTimeDateTimeZoneAtLeniently(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
public:
ZonedDateTime AtLeniently(
	LocalDateTime localDateTime
)
Parameters
localDateTime (LocalDateTime)
The local date/time to map.
Return Value
ZonedDateTime
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.
Remarks
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.1.0.0 (1.1.1)