EveryModifierInvalidator<T extends Every> class
abstract
Class that wraps an every generator and adds an invalidator that will be used to invalidate the generated dates.
- Inheritance
-
- Object
- Every
- EveryModifier<
T> - EveryModifierInvalidator
- Mixed-in types
- Implementers
Constructors
- EveryModifierInvalidator({required T every, required DateValidator invalidator})
-
Class that wraps an every generator and adds an invalidator that will
be used to invalidate the generated dates.
const
Properties
- every → T
-
The base generator for this EveryModifier.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- invalidator → DateValidator
-
The DateValidator that will be used to invalidate the generated dates.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
next(
DateTime date) → DateTime -
Returns the next instance of the given
dateconsidering this Every base process.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
previous(
DateTime date) → DateTime -
Returns the previous instance of the given
dateconsidering this Every base process.inherited -
processDate(
DateTime date, DateDirection direction) → DateTime -
A method that processes
datewith custom logic.inherited -
startDate(
DateTime date) → DateTime -
Returns the next DateTime that matches the Every pattern.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited