The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Input::Validator::Constraint::Time - Time constraint

SYNOPSIS

    $validator->field('time')->constraint(time => [split => ':']);

DESCRIPTION

Checks whether a value is a valid time. Time is a string with a separator (: by default), that is splitted into hour, minute, second sequence and then validated.

METHODS

is_valid

Validates the constraint.

SEE ALSO

Input::Validator, Input::Constraint