Class AfterDateTimeValidator
Validates that a date/time is after a given reference.
- Flikore\Validator\Validator implements Flikore\Validator\Interfaces\IValidator
- Flikore\Validator\Validators\AfterDateTimeValidator
Direct known subclasses
Flikore\Validator\Validators\MaxDateTimeValidator
,
Flikore\Validator\Validators\MinDateTimeValidator
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: %date% The reference date/time.
Located at Flikore/Validator/Validators/AfterDateTimeValidator.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: %date% The reference date/time.
Located at Flikore/Validator/Validators/AfterDateTimeValidator.php
Methods summary
public
|
#
__construct( DateTime $date, string $format = DATE_RFC3339 )
Creates a new After Date Time Validator. |
protected
boolean
|
Methods inherited from Flikore\Validator\Validator
addKeyValue()
,
applyTemplate()
,
assert()
,
getErrorMessage()
,
isEmpty()
,
setErrorMessage()
,
validate()
Magic methods summary
Properties summary
protected
DateTime
|
$date |
#
The reference date/time. |
protected
string
|
$message |
#
The error message for this validator. |