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) | |
Public Member Functions inherited from AbstractField | |
isSatisfied ($dateValue, $value) | |
isRange ($value) | |
isIncrementsOfRanges ($value) | |
isInRange ($dateValue, $value) | |
isInIncrementsOfRanges ($dateValue, $value) |
Day of week field. Allows: * / , - ? L #.
Days of the week can be represented as a number 0-7 (0|7 = Sunday) or as a three letter string: SUN, MON, TUE, WED, THU, FRI, SAT.
'L' stands for "last". It allows you to specify constructs such as "the last Friday" of a given month.
'#' is allowed for the day-of-week field, and must be followed by a number between one and five. It allows you to specify constructs such as "the second Friday" of a given month.
Definition at line 19 of file DayOfWeekField.php.
DayOfWeekField::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 |
Implements FieldInterface.
Definition at line 105 of file DayOfWeekField.php.
DayOfWeekField::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 |
Implements FieldInterface.
Definition at line 24 of file DayOfWeekField.php.
DayOfWeekField::validate | ( | $value | ) |
{Validates a CRON expression for a given field.
string | $value | CRON expression value to validate |
Implements FieldInterface.
Definition at line 121 of file DayOfWeekField.php.