LimitedOrEveryHandler class
Simple class to delegate the work to a given Every base process. For every one one of the everies that is a LimitedEvery, the limit will be passed.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
next<
T extends Every> (T every, DateTime date, {required DateTime? limit}) → DateTime -
Returns the next date considering the given
every
base process. Ifevery
is a LimitedEvery, thelimit
will be passed on. -
previous<
T extends Every> (T every, DateTime date, {required DateTime? limit}) → DateTime -
Returns the previous date considering the given
every
base process. Ifevery
is a LimitedEvery, thelimit
will be passed on. -
startDate<
T extends Every> (T every, DateTime date, {required DateTime? limit}) → DateTime -
Returns the start date considering the given
every
base process. Ifevery
is a LimitedEvery, thelimit
will be passed on.