validators.date library

Classes

AfterValidator
Checks whether the give value is after the specified time and date. [...]
BeforeValidator
Checks whether the give value is before the specified time and date. [...]
DateTimeBaseValidator
FutureOrPresentValidator
Checks whether the value being checked is within the future or present. [...]
InFutureValidator
Checks whether the value being checked is within the future. [...]
PastOrPresentValidator
Checks whether the value being checked is within the past or present. [...]
PastValidator
Checks whether the value being checked is within the past. [...]
TimeUnitBaseValidator

Constants

timeUnits → const List<String>
const ['year', 'month', 'day', 'hour', 'minute', 'second', 'millisecond', 'microsecond']

Properties

dateValidators → List<Type>
final

Enums

TimeUnit