DateTimeZone AtStrictly Method Noda Time
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.

Namespace: NodaTime
Assembly: NodaTime (in NodaTime.dll) Version: (1.3.1)

public ZonedDateTime AtStrictly(
	LocalDateTime localDateTime


Type: NodaTime LocalDateTime
The local date and time to map into this time zone.

Return Value

Type: ZonedDateTime
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.
Version Information

Available since: 1.0.0
Supported in the PCL? Yes
See Also