TaskInfo objects contain the information that can be used to create a task. Several implementations of this class exist, one for each type of task that can be run. Available TaskInfo implementations include:
For details, see the Interface TaskInfo in the Javadoc.
After a TaskInfo object is created, it can be submitted to the scheduler for task creation by calling the Scheduler.create() method.
Specifying time intervals. setStartTimeInterval(), setStartByInterval(), and setRepeatInterval() methods all take a String parameter that represents time interval. Time intervals are calculated using user calendars.