Noda Time
AmbiguousTimeException Constructor (earlierMapping, laterMapping)
NamespacesNodaTimeAmbiguousTimeExceptionAmbiguousTimeException(ZonedDateTime, ZonedDateTime)

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

Constructs an instance from the given information.
Declaration Syntax
C#Visual BasicVisual C++
public AmbiguousTimeException(
	ZonedDateTime earlierMapping,
	ZonedDateTime laterMapping
)
Public Sub New ( _
	earlierMapping As ZonedDateTime, _
	laterMapping As ZonedDateTime _
)
public:
AmbiguousTimeException(
	ZonedDateTime earlierMapping, 
	ZonedDateTime laterMapping
)
Parameters
earlierMapping (ZonedDateTime)
The earlier possible mapping
laterMapping (ZonedDateTime)
The later possible mapping
Remarks

User code is unlikely to need to deliberately call this constructor except possibly for testing.

The two mappings must have the same local time and time zone.

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