public class QuartzSchedulerAvailability
extends org.quartz.impl.calendar.BaseCalendar
Constructor and Description |
---|
QuartzSchedulerAvailability(Date startTime,
Date endTime)
Creates a quartz calender which is used to indicate when a trigger is allowed to fire.
|
Modifier and Type | Method and Description |
---|---|
Date |
getEndTime() |
long |
getNextIncludedTime(long arg0) |
Date |
getStartTime() |
boolean |
isTimeIncluded(long arg0) |
public QuartzSchedulerAvailability(Date startTime, Date endTime)
startTime
- the earliest time at which the trigger may fire. If null the trigger may fire immediately.endTime
- the last date at which the trigger may fire. If null the trigger may fire indefinitely.public long getNextIncludedTime(long arg0)
getNextIncludedTime
in interface org.quartz.Calendar
getNextIncludedTime
in class org.quartz.impl.calendar.BaseCalendar
public boolean isTimeIncluded(long arg0)
isTimeIncluded
in interface org.quartz.Calendar
isTimeIncluded
in class org.quartz.impl.calendar.BaseCalendar
public Date getStartTime()
public Date getEndTime()