private getNextRunTime ( string $interimName, Bolt\Storage\Entity\Cron $runEntity ) : DateTime | ||
$interimName | string | The interim; CRON_HOURLY, CRON_DAILY, CRON_WEEKLY, CRON_MONTHLY or CRON_YEARLY |
$runEntity | Bolt\Storage\Entity\Cron | The last execution time of the interim |
return | DateTime |