Adds date helpers.
Public Methods | |
magic null string | getDueOn () |
Y-m-d More... | |
magic null string | getStartOn () |
Y-m-d More... | |
magic bool | hasDueOn () |
magic bool | hasStartOn () |
$this | setDueOn ($date) |
$this | setStartOn ($date) |
Public Methods inherited from DateTimeTrait | |
null DateTimeInterface | _getDateTime () |
Returns a date-time field as an immutable object. More... | |
magic null string getDueOn | ( | ) |
Y-m-d
magic null string getStartOn | ( | ) |
Y-m-d
magic bool hasDueOn | ( | ) |
magic bool hasStartOn | ( | ) |
$this setDueOn | ( | $date | ) |
null | string | DateTimeInterface | $date |
$this setStartOn | ( | $date | ) |
null | string | DateTimeInterface | $date |