++ed by:
THALJEF SYP KEEDI

3 PAUSE users
4 non-PAUSE users.

Вячеслав Тихановский

NAME

Input::Validator::Constraint::Date - Date constraint

SYNOPSIS

    $validator->field('date')->constraint('date');
    $validator->field('date')->constraint('date', split => '/');

DESCRIPTION

Checks whether a value is a valid date. Date is a string with a separator (/ by default), that is splitted into year, month, day sequence and then validated.

METHODS

is_valid

Validates the constraint.

SEE ALSO

Input::Validator, Input::Constraint