Constructor and Description |
---|
CronTrigger(CronExpression cronExpression,
long start,
long end,
java.util.TimeZone timezone)
Creates new cron trigger.
|
Modifier and Type | Method and Description |
---|---|
long |
nextTime(long now)
Gets the next time this trigger should be fired.
|
public CronTrigger(CronExpression cronExpression, long start, long end, java.util.TimeZone timezone)
cronExpression
- The cron expression to create the trigger from.start
- The date the trigger should begin firing, in milliseconds. -1
indicates that no start date should be enforced.end
- The date the trigger should end firing, in milliseconds. -1
indicates that no end date should be enforced.string
-