|
HCE Project DC service web UI
0.2
Hierarchical Cluster Engine DC service web UI
|

Public Member Functions | |
| isSatisfiedBy (DateTime $date, $value) | |
| increment (DateTime $date, $invert=false) | |
| validate ($value) | |
CRON field interface.
Definition at line 8 of file FieldInterface.php.
| FieldInterface::increment | ( | DateTime | $date, |
$invert = false |
|||
| ) |
When a CRON expression is not satisfied, this method is used to increment or decrement a DateTime object by the unit of the cron field.
| DateTime | $date | DateTime object to change |
| bool | $invert | (optional) Set to TRUE to decrement |
Implemented in DayOfWeekField, DayOfMonthField, MonthField, HoursField, MinutesField, and YearField.
| FieldInterface::isSatisfiedBy | ( | DateTime | $date, |
| $value | |||
| ) |
Check if the respective value of a DateTime field satisfies a CRON exp.
| DateTime | $date | DateTime object to check |
| string | $value | CRON expression to test against |
Implemented in DayOfMonthField, DayOfWeekField, HoursField, MinutesField, MonthField, and YearField.
| FieldInterface::validate | ( | $value | ) |
Validates a CRON expression for a given field.
| string | $value | CRON expression value to validate |
Implemented in DayOfWeekField, DayOfMonthField, MonthField, YearField, HoursField, and MinutesField.