public function getNextRunDate($currentTime = 'now', $nth = 0, $allowCurrentDate = false)
    {
        return $this->getCronExpression()->getNextRunDate($currentTime, $nth, $allowCurrentDate);
    }
public function getNextRunDate($currentTime = 'now', $nth = 0, $allowCurrentDate = false)
    {
        return $this->getCronExpression()->getNextRunDate($currentTime, $nth, $allowCurrentDate);
    }
public function getNextRunDate ( $ currentTime = 'now' , $ nth = 0 , $ allowCurrentDate = false ) { return $ this -> getCronExpression ( ) -> getNextRunDate ( $ currentTime , $ nth , $ allowCurrentDate ) ; }
Get a next run date relative to the current date or a specific date.

@param string|\DateTime $currentTime      Relative calculation date
@param int              $nth              Number of matches to skip before returning a
matching next run date. 0, the default, will return the current
date and time if the next run date falls on the current date and
time. Setting this value to 1 will skip the first match and go to
the second match. Setting this value to 2 will skip the first 2
matches and so on.
@param bool             $allowCurrentDate Set to TRUE to return the current date if
it matches the cron expression.

@return \DateTime

@throws \RuntimeException on too many iterations
Get a next run date relative to the current date or a specific date .