Noda Time
AtLeniently Method (localDateTime)
NamespacesNodaTimeDateTimeZoneAtLeniently(LocalDateTime)

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

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
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.2.0.0 (1.2.0)