Home
last modified time | relevance | path

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

/plugin/authgooglesheets/vendor/google/apiclient-services/src/Sheets/
H A DDataSourceRefreshSchedule.php84 public function setNextRun(Interval $nextRun) argument
86 $this->nextRun = $nextRun;
93 return $this->nextRun;
/plugin/combo/vendor/dragonmantank/cron-expression/tests/Cron/
H A DCronExpressionTest.php192 public function testDeterminesIfCronIsDue($schedule, $relativeTime, $nextRun, $isDue) argument
205 $this->assertEquals(new DateTime($nextRun), $next);
309 $nextRun = $cron->getNextRunDate("2008-11-09 08:00:00");
310 $this->assertEquals($nextRun, new DateTime("2008-11-16 00:00:00"));
313 $nextRun = $cron->getNextRunDate("2008-11-09 00:00:00", true, true);
314 $this->assertEquals($nextRun, new DateTime("2008-11-16 00:00:00"));
317 $nextRun = $cron->getNextRunDate($cron->getNextRunDate("2008-11-09 00:00:00", 1, true), 1, true);
318 $this->assertEquals($nextRun, new DateTime("2008-11-23 00:00:00"));
321 $nextRun = $cron->getNextRunDate("2008-11-09 00:00:00", 2, true);
322 $this->assertEquals($nextRun, ne
[all...]
/plugin/combo/vendor/dragonmantank/cron-expression/src/Cron/
H A DCronExpression.php335 $nextRun = clone $currentDate;
359 $satisfied = $field->isSatisfiedBy($nextRun, $part);
362 if ($field->isSatisfiedBy($nextRun, $listPart)) {
371 $field->increment($nextRun, $invert, $part);
377 if ((!$allowCurrentDate && $nextRun == $currentDate) || --$nth > -1) {
378 $this->fieldFactory->getField(0)->increment($nextRun, $invert, isset($parts[0]) ? $parts[0] : null);
382 return $nextRun;