AmbiguousTimeError class

Inheritance
Annotations
  • @immutable

Constructors

AmbiguousTimeError(ZonedDateTime earlierMapping, ZonedDateTime laterMapping)
Constructs an instance from the given information.

Properties

earlierMapping ZonedDateTime
Gets the earlier of the two occurrences of the local date and time within the time zone.
final
hashCode int
The hash code for this object.
no setterinherited
laterMapping ZonedDateTime
Gets the later of the two occurrences of the local date and time within the time zone.
final
localDateTime LocalDateTime
Get the local date and time which is ambiguous in the time zone.
no setter
message String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The stack trace at the point where this error was first thrown.
no setterinherited
Zone DateTimeZone
The time zone in which the local date and time is ambiguous.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited