Noda Time
AmbiguousTimeException Constructor (earlierMapping, laterMapping)
NamespacesNodaTimeAmbiguousTimeExceptionAmbiguousTimeException(ZonedDateTime, ZonedDateTime)
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) Version: 1.0.0.0 (1.0.1)