[This is preliminary documentation and is subject to change.]
Maps the given LocalDateTime to the corresponding ZonedDateTime, if and only if
that mapping is unambiguous in this time zone. Otherwise, SkippedTimeException or
AmbiguousTimeException is thrown, depending on whether the mapping is ambiguous or the local
date/time is skipped entirely.

C# | Visual Basic | Visual C++ |
public ZonedDateTime AtStrictly( LocalDateTime localDateTime )
Public Function AtStrictly ( _ localDateTime As LocalDateTime _ ) As ZonedDateTime
public: ZonedDateTime AtStrictly( LocalDateTime localDateTime )

- localDateTime (LocalDateTime)
- The local date and time to map into this time zone.

The unambiguous matching ZonedDateTime if it exists.

See AtLeniently(LocalDateTime) and ResolveLocal(LocalDateTime, ZoneLocalMappingResolver) for alternative ways to map a local time to a
specific instant.

Exception | Condition |
---|---|
SkippedTimeException | The given local date/time is skipped in this time zone. |
AmbiguousTimeException | The given local date/time is ambiguous in this time zone. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)