Noda Time
InZoneStrictly Method (zone)
NamespacesNodaTimeLocalDateTimeInZoneStrictly(DateTimeZone)

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

Returns the mapping of this local date/time within the given DateTimeZone, with "strict" rules applied such that an exception is thrown if either the mapping is ambiguous or the time is skipped.
Declaration Syntax
C#Visual BasicVisual C++
public ZonedDateTime InZoneStrictly(
	DateTimeZone zone
)
Public Function InZoneStrictly ( _
	zone As DateTimeZone _
) As ZonedDateTime
public:
ZonedDateTime InZoneStrictly(
	DateTimeZone^ zone
)
Parameters
zone (DateTimeZone)
The time zone in which to map this local date/time.
Return Value
The result of mapping this local date/time in the given time zone.
Remarks
This is solely a convenience method for calling AtStrictly(LocalDateTime).
Exceptions
ExceptionCondition
ArgumentNullExceptionzone is null.

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