LimitedOrEveryHandler class abstract

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.

Constructors

LimitedOrEveryHandler()

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

endDate<T extends EveryDateValidator>(T every, DateTime date, {required DateTime? limit}) DateTime
Returns the start date considering the given every base process. If every is a LimitedEveryDateValidator, the limit will be passed on.
endDateAdapter<T extends Every, V extends DateValidator>(T every, V validator, DateTime date, {required DateTime? limit}) DateTime
Returns the end date considering the given every and validator base process.
next<T extends Every>(T every, DateTime date, {required DateTime? limit}) DateTime
Returns the next date considering the given every base process. If every is a LimitedEvery, the limit 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. If every is a LimitedEvery, the limit will be passed on.
startDate<T extends EveryDateValidator>(T every, DateTime date, {required DateTime? limit}) DateTime
Returns the start date considering the given every base process. If every is a LimitedEveryDateValidator, the limit will be passed on.
startDateAdapter<T extends Every, V extends DateValidator>(T every, V validator, DateTime date, {required DateTime? limit}) DateTime
Returns the start date considering the given every and validator base process.