DateValidatorExtensions<T> extension

on

Methods

date([String? message]) EzValidator<T>
Checks if the value is a date
maxDate(DateTime date, [String? message]) EzValidator<T>
Checks if the value is is before date message is the message to return if the validation fails
minDate(DateTime date, [String? message]) EzValidator<T>
Checks if the value is is after date message is the message to return if the validation fails