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.CalendargetNextIncludedTime in class org.quartz.impl.calendar.BaseCalendarpublic boolean isTimeIncluded(long arg0)
isTimeIncluded in interface org.quartz.CalendarisTimeIncluded in class org.quartz.impl.calendar.BaseCalendarpublic Date getStartTime()
public Date getEndTime()