Class DateTimeValidator
Validates that the value is a valid date/time.
- Flikore\Validator\Validator implements Flikore\Validator\Interfaces\IValidator
- Flikore\Validator\Validators\DateTimeValidator
Direct known subclasses
Namespace: Flikore\Validator\Validators
Package: Flikore\Validator
Copyright: (c) 2014, George Marques
License: MIT
Author: George Marques <george at georgemarques.com.br>
Version: 0.5.2
Since: 0.4.0
CustomKey: %format% The format specified to check the valid date/time.
Located at Flikore/Validator/Validators/DateTimeValidator.php
Package: Flikore\Validator
Copyright: (c) 2014, George Marques
License: MIT
Author: George Marques <george at georgemarques.com.br>
Version: 0.5.2
Since: 0.4.0
CustomKey: %format% The format specified to check the valid date/time.
Located at Flikore/Validator/Validators/DateTimeValidator.php
Methods summary
public
|
|
protected
boolean
|
Methods inherited from Flikore\Validator\Validator
addKeyValue()
,
applyTemplate()
,
assert()
,
getErrorMessage()
,
isEmpty()
,
setErrorMessage()
,
validate()
Magic methods summary
Properties summary
protected
string
|
$format |
#
The format of the date/time. |
protected
string
|
$message |
#
The error message for this validator. |
protected
string
|
$alt_message |
#
The alternative message used if there is a specified format. |