org.jbpm.cal
Class Holiday

java.lang.Object
  extended by org.jbpm.cal.Holiday
All Implemented Interfaces:
java.io.Serializable

public class Holiday
extends java.lang.Object
implements java.io.Serializable

identifies a continuous set of days.

See Also:
Serialized Form

Field Summary
protected  BusinessCalendar businessCalendar
           
protected  java.util.Date fromDay
           
protected  long oid
           
protected  java.util.Date toDay
           
protected  int version
           
 
Constructor Summary
Holiday()
           
 
Method Summary
 BusinessCalendar getBusinessCalendar()
           
 java.util.Date getFromDay()
           
 java.util.Date getToDay()
           
 boolean includes(java.util.Date date)
           
 void setBusinessCalendar(BusinessCalendar businessCalendar)
           
 void setFromDay(java.util.Date fromDay)
           
 void setToDay(java.util.Date toDay)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

oid

protected long oid

version

protected int version

fromDay

protected java.util.Date fromDay

toDay

protected java.util.Date toDay

businessCalendar

protected BusinessCalendar businessCalendar
Constructor Detail

Holiday

public Holiday()
Method Detail

includes

public boolean includes(java.util.Date date)

getBusinessCalendar

public BusinessCalendar getBusinessCalendar()

setBusinessCalendar

public void setBusinessCalendar(BusinessCalendar businessCalendar)

getFromDay

public java.util.Date getFromDay()

setFromDay

public void setFromDay(java.util.Date fromDay)

getToDay

public java.util.Date getToDay()

setToDay

public void setToDay(java.util.Date toDay)