EveryDateValidatorMixin mixin
A mixin to easily implement the EveryDateValidator.startDate and EveryDateValidator.endDate methods.
- Implemented types
- Mixin applications
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
-
endDate(
DateTime date) → DateTime -
Returns the previous DateTime that matches the Every pattern.
override
-
filterValidDates(
Iterable< DateTime> dates) → Iterable<DateTime> -
Returns the valid dates for this DateValidator in
dates.inherited -
invalid(
DateTime date) → bool -
Returns true if the
dateis invalid for this DateValidator.inherited -
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 -
startDate(
DateTime date) → DateTime -
Returns the start date considering the given
everybase process. Ifeveryis a LimitedEveryDateValidator, thelimitwill be passed on.override -
toString(
) → String -
A string representation of this object.
inherited
-
valid(
DateTime date) → bool -
Returns true if the
dateis valid for this DateValidator.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator unary-(
) → DateValidator -
inherited