DateTimeLimitReachedException class

Exception thrown when a date limit is reached.

Thrown when a LimitedEvery method would return a date that is after (or before in LimitedEvery.previous case) the limit date.

Should not be thrown when the resulting date is equal to the limit date.

Implemented types

Constructors

DateTimeLimitReachedException({required DateTime date, required DateTime limit})
Exception thrown when a date limit is reached.
const

Properties

date DateTime
Date that reached the limit.
final
hashCode int
The hash code for this object.
no setterinherited
limit DateTime
Limit date.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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