| java.lang.Object | |
| ↳ | org.springframework.scheduling.support.CronSequenceGenerator |
Date sequence generator for a Crontab pattern, allowing clients to specify a pattern that the sequence matches.
The pattern is a list of six single space-separated fields: representing second, minute, hour, day, month, weekday. Month and weekday names can be given as the first three letters of the English names.
Example patterns:
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Construct a
CronSequenceGenerator from the pattern provided. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the next
Date in the sequence matching the Cron pattern and
after the value provided. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Construct a CronSequenceGenerator from the pattern provided.
| expression | a space-separated list of time fields |
|---|---|
| timeZone | the TimeZone to use for generated trigger times |
| IllegalArgumentException | if the pattern cannot be parsed |
|---|
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.
| date | a seed value |
|---|