public Optional<DateTime> nextTime(JobTriggerDto trigger) {
        return nextTime(trigger, trigger.nextTime());
    }
@Test
    public void emptyNextTimeCron() {
        final JobTriggerDto trigger = JobTriggerDto.builderWithClock(clock)
                .jobDefinitionId("abc-123")
                .jobDefinitionType("event-processor-execution-v1")
                .schedule(CronJobSchedule.builder()
                        // At every hour in 2024
                        .cronExpression("0 0 * ? * * 2024")
                        .build())
                .build();

        // Last execution for the expression
        final DateTime date = DateTime.parse("2024-12-31T23:00:00.000Z");
        final Optional<DateTime> nextTime = strategies.nextTime(trigger, date);

        assertThat(nextTime).isEmpty();
    }