Home
last modified time | relevance | path

Searched refs:isSatisfiedBy (Results 1 – 10 of 10) sorted by relevance

/plugin/combo/vendor/dragonmantank/cron-expression/tests/Cron/
H A DDayOfWeekFieldTest.php33 $this->assertTrue($f->isSatisfiedBy(new DateTime(), '?'));
59 $this->assertTrue($f->isSatisfiedBy(new DateTime(), '12#1'));
70 $this->assertTrue($f->isSatisfiedBy(new DateTime(), '3#6'));
95 $this->assertTrue($f->isSatisfiedBy(new DateTime('2011-09-04 00:00:00'), '0-2'));
96 $this->assertTrue($f->isSatisfiedBy(new DateTime('2011-09-04 00:00:00'), '6-0'));
98 $this->assertTrue($f->isSatisfiedBy(new DateTime('2014-04-20 00:00:00'), 'SUN'));
99 $this->assertTrue($f->isSatisfiedBy(new DateTime('2014-04-20 00:00:00'), 'SUN#3'));
100 $this->assertTrue($f->isSatisfiedBy(new DateTime('2014-04-20 00:00:00'), '0#3'));
101 $this->assertTrue($f->isSatisfiedBy(new DateTime('2014-04-20 00:00:00'), '7#3'));
H A DDayOfMonthFieldTest.php32 $this->assertTrue($f->isSatisfiedBy(new DateTime(), '?'));
/plugin/combo/vendor/dragonmantank/cron-expression/src/Cron/
H A DFieldInterface.php19 public function isSatisfiedBy(DateTime $date, $value); function
H A DMonthField.php12 public function isSatisfiedBy(DateTime $date, $value) function in Cron\\MonthField
H A DYearField.php13 public function isSatisfiedBy(DateTime $date, $value) function in Cron\\YearField
H A DCronExpression.php359 $satisfied = $field->isSatisfiedBy($nextRun, $part);
362 if ($field->isSatisfiedBy($nextRun, $listPart)) {
H A DMinutesField.php13 public function isSatisfiedBy(DateTime $date, $value) function in Cron\\MinutesField
H A DHoursField.php13 public function isSatisfiedBy(DateTime $date, $value) function in Cron\\HoursField
H A DDayOfWeekField.php24 public function isSatisfiedBy(DateTime $date, $value) function in Cron\\DayOfWeekField
H A DDayOfMonthField.php59 public function isSatisfiedBy(DateTime $date, $value) function in Cron\\DayOfMonthField