org.jboss.seam.async
Class NthBusinessDay
java.lang.Object
org.jboss.seam.async.NthBusinessDay
- All Implemented Interfaces:
- Serializable
public class NthBusinessDay
- extends Object
- implements Serializable
The NthBusinessDay conf data -- used with @IntervalBusinessDay
on @Asynchronous methods.
- Author:
- Michael Yuan
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NthBusinessDay
public NthBusinessDay()
NthBusinessDay
public NthBusinessDay(int n,
String fireAtTime,
NthBusinessDay.BusinessDayIntervalType interval)
NthBusinessDay
public NthBusinessDay(int n,
String fireAtTime,
List<Date> additionalHolidays,
NthBusinessDay.BusinessDayIntervalType interval,
boolean excludeWeekends,
boolean excludeUsFederalHolidays)
getN
public int getN()
setN
public void setN(int n)
getFireAtTime
public String getFireAtTime()
setFireAtTime
public void setFireAtTime(String fireAtTime)
getAdditionalHolidays
public List<Date> getAdditionalHolidays()
setAdditionalHolidays
public void setAdditionalHolidays(List<Date> additionalHolidays)
getInterval
public NthBusinessDay.BusinessDayIntervalType getInterval()
setInterval
public void setInterval(NthBusinessDay.BusinessDayIntervalType interval)
getExcludeWeekends
public boolean getExcludeWeekends()
setExcludeWeekends
public void setExcludeWeekends(boolean excludeWeekends)
getExcludeUsFederalHolidays
public boolean getExcludeUsFederalHolidays()
setExcludeUsFederalHolidays
public void setExcludeUsFederalHolidays(boolean excludeUsFederalHolidays)
getHolidayCalendar
public org.quartz.impl.calendar.HolidayCalendar getHolidayCalendar()