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.