16 $value = str_ireplace(
18 'JAN',
'FEB',
'MAR',
'APR',
'MAY',
'JUN',
19 'JUL',
'AUG',
'SEP',
'OCT',
'NOV',
'DEC',
25 return $this->
isSatisfied($date->format(
'm'), $value);
31 public function increment(DateTime $date, $invert =
false)
33 $year = $date->format(
'Y');
35 $month = $date->format(
'm') - 1;
40 $date->setDate($year, $month, 1);
41 $date->setDate($year, $month, $date->format(
't'));
42 $date->setTime(23, 59, 0);
44 $month = $date->format(
'm') + 1;
49 $date->setDate($year, $month, 1);
50 $date->setTime(0, 0, 0);
61 return (
bool) preg_match(
'/[\*,\/\-0-9A-Z]+/', $value);