Get next or previous runtime of a cronjob by its pattern

Code
<?php

use Cron\CronExpression;

$cron CronExpression::factory('0 12,23 * 1-3,6-8,10-12 *');
$cron->isDue();
dump(
    
$cron->getNextRunDate()
        ->
format('Y-m-d H:i:s'),
    
$cron->getPreviousRunDate()
        ->
format('Y-m-d H:i:s')
);
Result
"2017-12-17 12:00:00"

"2017-12-16 23:00:00"
Used Versions
PHP 7.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6