DateValidator class abstract
A class to save a specific validation for a DateTime.
See also ExactDateValidator.
- Implementers
- Annotations
-
- @immutable
Constructors
- DateValidator()
-
A class to save a specific validation for a DateTime.
const
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
-
filterValidDates(
Iterable< DateTime> dates) → Iterable<DateTime> -
Returns the valid dates for this DateValidator in
dates. -
invalid(
DateTime date) → bool -
Returns true if the
dateis invalid for this DateValidator. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
valid(
DateTime date) → bool -
Returns true if the
dateis valid for this DateValidator. -
validsIn(
Iterable< DateTime> dates) → Iterable<DateTime> -
Returns the valid dates for this DateValidator in
dates.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited