Lines Matching defs:nth
182 * @param int $nth Number of matches to skip before returning a
194 public function getNextRunDate($currentTime = 'now', $nth = 0, $allowCurrentDate = false)
196 return $this->getRunDate($currentTime, $nth, false, $allowCurrentDate);
203 * @param int $nth Number of matches to skip before returning
211 public function getPreviousRunDate($currentTime = 'now', $nth = 0, $allowCurrentDate = false)
213 return $this->getRunDate($currentTime, $nth, true, $allowCurrentDate);
314 * @param int $nth Number of matches to skip before returning
322 protected function getRunDate($currentTime = null, $nth = 0, $invert = false, $allowCurrentDate = false)
336 $nth = (int) $nth;
377 if ((!$allowCurrentDate && $nextRun == $currentDate) || --$nth > -1) {