src/Util/Validator.php
protected function validateDateFormat($field, $value, $params)
    {
        $parsed = \date_parse_from_format($params[0], $value);

        return $parsed['error_count'] === 0 && $parsed['warning_count'] === 0;
    }
protected function validateDateFormat($field, $value, $params)
    {
        $parsed = \date_parse_from_format($params[0], $value);

        return $parsed['error_count'] === 0 && $parsed['warning_count'] === 0;
    }
protected function validateDateFormat ( $ field , $ value , $ params ) { $ parsed = \ date_parse_from_format ( $ params [ 0 ] , $ value ) ; return $ parsed [ 'error_count' ] === 0 && $ parsed [ 'warning_count' ] === 0 ; }
Validate that a field matches a date format

@param  string $field
@param  mixed  $value
@param  array  $params

@internal param array $fields
@return bool
Validate that a field matches a date format