Valdi\Validator\YoungerThan

class Valdi\Validator\YoungerThan
Validator for a date time being younger than a certain amount of seconds compared to the current moment. For the format, see: http://php.net/manual/en/datetime.createfromformat.php
property $dateTimeParameters

Holds whether to parse the parameters as \DateTimes so the child class can decide.

property $type

Holds the type of the validator.

isValidComparison()

{@inheritdoc}