Home
last modified time | relevance | path

Searched refs:isSatisfied (Results 1 – 8 of 8) sorted by relevance

/plugin/combo/vendor/dragonmantank/cron-expression/tests/Cron/
H A DAbstractFieldTest.php73 * @covers Cron\AbstractField::isSatisfied
78 $this->assertTrue($f->isSatisfied('12', '3-13'));
79 $this->assertTrue($f->isSatisfied('15', '3-59/12'));
80 $this->assertTrue($f->isSatisfied('12', '*'));
81 $this->assertTrue($f->isSatisfied('12', '12'));
82 $this->assertFalse($f->isSatisfied('12', '3-11'));
83 $this->assertFalse($f->isSatisfied('12', '3-59/13'));
84 $this->assertFalse($f->isSatisfied('12', '11'));
/plugin/combo/vendor/dragonmantank/cron-expression/src/Cron/
H A DMonthField.php24 return $this->isSatisfied($date->format('m'), $value);
H A DYearField.php15 return $this->isSatisfied($date->format('Y'), $value);
H A DMinutesField.php15 return $this->isSatisfied($date->format('i'), $value);
H A DHoursField.php15 return $this->isSatisfied($date->format('H'), $value);
H A DAbstractField.php18 public function isSatisfied($dateValue, $value) function in Cron\\AbstractField
H A DDayOfMonthField.php85 return $this->isSatisfied($date->format('d'), $value);
H A DDayOfWeekField.php104 return $this->isSatisfied($fieldValue, $value);