spring-framework / org.springframework.scheduling.support / CronSequenceGenerator / next

next

open fun next(date: Date): Date

Get the next Date in the sequence matching the Cron pattern and after the value provided. The return value will have a whole number of seconds, and will be after the input value.

Parameters

date - a seed value

Return
the next value matching the pattern