DateTimeValidationExtension<T> extension

on

Methods

isAfter(DateTime other, [MessageCallBack<DateTime>? message]) FieldValidator<T, DateTime>
check if the value is after other
isAfterFn(ValueGetter<DateTime> other, [MessageCallBack<DateTime>? message]) FieldValidator<T, DateTime>
check if the value is after other
isAfterOrEqual(DateTime other, [MessageCallBack<DateTime>? message]) FieldValidator<T, DateTime>
check if the value is after other or at the same moment
isAfterOrEqualFn(ValueGetter<DateTime> other, [MessageCallBack<DateTime>? message]) FieldValidator<T, DateTime>
check if the value is after other or at the same moment
isBefore(DateTime other, [MessageCallBack<DateTime>? message]) FieldValidator<T, DateTime>
check if the value is before other
isBeforeFn(ValueGetter<DateTime> other, [MessageCallBack<DateTime>? message]) FieldValidator<T, DateTime>
check if the value is before other
isBeforeOrEqual(DateTime other, [MessageCallBack<DateTime>? message]) FieldValidator<T, DateTime>
check if the value is before other or at the same moment
isBeforeOrEqualFn(ValueGetter<DateTime> other, [MessageCallBack<DateTime>? message]) FieldValidator<T, DateTime>
check if the value is before other or at the same moment
isBetween(DateTime min, DateTime max, [MessageCallBack<DateTime>? message]) FieldValidator<T, DateTime>
check if the value is between min and max
isBetweenFn(ValueGetter<DateTime> min, ValueGetter<DateTime> max, [MessageCallBack<DateTime>? message]) FieldValidator<T, DateTime>
check if the value is between min and max
isBetweenOrEqual(DateTime min, DateTime max, [MessageCallBack<DateTime>? message]) FieldValidator<T, DateTime>
check if the value is between min and max or equal any of them
isBetweenOrEqualFn(ValueGetter<DateTime> min, ValueGetter<DateTime> max, [MessageCallBack<DateTime>? message]) FieldValidator<T, DateTime>
check if the value is between min and max or equal any of them