NullableDateTimeField
Class. It extends DateTimeField.
A nullable time column of a table (?DateTimeImmutable). notEquals() and notIn() also match rows whose column is
null, like null !== $value in PHP.
Constructor
Methods
between()
Matches times from $min to $max, both included.
Returns Condition
equals()
Matches times equal to $value.
Returns Condition
getClass()
The class the field belongs to.
Returns class-string
getField()
The name of the field: the name of the constructor parameter.
Returns string
greaterOrEqual()
Matches times at or after $value.
Returns Condition
greaterThan()
Matches times after $value.
Returns Condition
in()
Matches times equal to one of $values. Throws an InvalidArgumentException if no value is given.
Returns Condition
isNotNull()
Rows whose column is not null.
Returns Condition
isNull()
Rows whose column is null.
Returns Condition
lessOrEqual()
Matches times at or before $value.
Returns Condition
lessThan()
Matches times before $value.
Returns Condition
notEquals()
Matches times not equal to $value. On a nullable column, rows whose column is null match as well.
Returns Condition
notIn()
Matches times equal to none of $values. On a nullable column, rows whose column is null match as well. Throws an InvalidArgumentException if no value is given.
Returns Condition