Home
last modified time | relevance | path

Searched refs:isDue (Results 1 – 3 of 3) sorted by relevance

/template/strap/vendor/dragonmantank/cron-expression/tests/Cron/
H A DCronExpressionTest.php192 public function testDeterminesIfCronIsDue($schedule, $relativeTime, $nextRun, $isDue) argument
203 $this->assertEquals($isDue, $cron->isDue($relativeTime));
214 $this->assertTrue($cron->isDue());
215 $this->assertTrue($cron->isDue('now'));
216 $this->assertTrue($cron->isDue(new DateTime('now')));
217 $this->assertTrue($cron->isDue(date('Y-m-d H:i')));
232 $this->assertTrue($cron->isDue(new DateTime($date, $utc)));
233 $this->assertFalse($cron->isDue(new DateTime($date, $amsterdam)));
234 $this->assertFalse($cron->isDue(new DateTime($date, $tokyo)));
237 $this->assertFalse($cron->isDue(new DateTime($date, $utc)));
[all …]
/template/strap/vendor/dragonmantank/cron-expression/
H A DREADME.md34 $cron->isDue();
/template/strap/vendor/dragonmantank/cron-expression/src/Cron/
H A DCronExpression.php280 public function isDue($currentTime = 'now') function in Cron\\CronExpression