Lines Matching refs:value
24 public function isSatisfiedBy(DateTime $date, $value)
26 if ($value == '?') {
31 $value = $this->convertLiterals($value);
38 if (strpos($value, 'L')) {
39 $weekday = str_replace('7', '0', substr($value, 0, strpos($value, 'L')));
53 if (strpos($value, '#')) {
54 list($weekday, $nth) = explode('#', $value);
63 throw new InvalidArgumentException("Weekday must be a value between 0 and 7. {$weekday} given");
90 if (strpos($value, '-')) {
91 $parts = explode('-', $value);
97 $value = implode('-', $parts);
101 $format = in_array(7, str_split($value)) ? 'N' : 'w';
104 return $this->isSatisfied($fieldValue, $value);
120 public function validate($value)
122 $value = $this->convertLiterals($value);
124 foreach (explode(',', $value) as $expr) {