Contao\Date::isNumericFormat PHP 메소드

isNumericFormat() 공개 정적인 메소드

Check for a numeric date format
public static isNumericFormat ( string $strFormat ) : boolean
$strFormat string The PHP format string
리턴 boolean True if the date format is numeric
    public static function isNumericFormat($strFormat)
    {
        return !preg_match('/[BbCcDEeFfIJKkLlMNOoPpQqRrSTtUuVvWwXxZz]+/', $strFormat);
    }