class DateLessThan extends ComparisonRule

Less-than rule for dates.

Methods

jsonSerialize()

No description

getPropertyKeys()

Gets the keys for all the properties of this object.

__construct(mixed $value, bool $equals = false)

Create a new rule with the given date.

Details

jsonSerialize()

string[] getPropertyKeys()

Gets the keys for all the properties of this object.

Return Value

string[]

__construct(mixed $value, bool $equals = false)

Create a new rule with the given date.

Parameters

Name Type Description
$value mixed
$equals bool

Constants

GREATER_THAN

LESS_THAN