Get next or previous runtime of a cronjob by its pattern

Code
<?php

use Cron\CronExpression;

$cron CronExpression::factory('0 12 1-9 * *');
dump(
    
$cron->getNextRunDate()
        ->
format('Y-m-d H:i:s'),
    
$cron->getPreviousRunDate()
        ->
format('Y-m-d H:i:s')
);
Result
^ "2023-02-05 12:00:00"

^ "2023-02-04 12:00:00"
Used Versions
PHP 8.2, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8