1 | <?php |
||
11 | class DatetimeValidator extends AbstractFormatValidator |
||
12 | { |
||
13 | /** |
||
14 | * Validate that the input is a valid ISO8601 formatted date. |
||
15 | * |
||
16 | * @access protected |
||
17 | * |
||
18 | * @return boolean Whether the input is valid. |
||
19 | */ |
||
20 | 1 | protected function formatDefault() |
|
43 | |||
44 | |||
45 | /** |
||
46 | * Validate that the input is a valid date in the specified format. |
||
47 | * |
||
48 | * @access protected |
||
49 | * |
||
50 | * @param string $format The date format to validate against. |
||
51 | * |
||
52 | * @return boolean Whether the input is valid. |
||
53 | */ |
||
54 | 1 | protected function formatDate($format) |
|
60 | } |
||
61 |