org.jbpm.cal
Class DayPart
java.lang.Object
org.jbpm.cal.DayPart
- All Implemented Interfaces:
- java.io.Serializable
public class DayPart
- extends java.lang.Object
- implements java.io.Serializable
is part of a day that can for example be used to represent business hours.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
oid
protected long oid
version
protected int version
fromHour
protected int fromHour
fromMinute
protected int fromMinute
toHour
protected int toHour
toMinute
protected int toMinute
day
protected Day day
index
protected int index
DayPart
public DayPart()
add
public java.util.Date add(java.util.Date date,
long millis,
boolean isBusinessTime)
isStartAfter
public boolean isStartAfter(java.util.Date date)
includes
public boolean includes(java.util.Date date)
getStartTime
public java.util.Date getStartTime(java.util.Date date)
getDay
public Day getDay()
setDay
public void setDay(Day day)
getFromHour
public int getFromHour()
setFromHour
public void setFromHour(int fromHour)
getFromMinute
public int getFromMinute()
setFromMinute
public void setFromMinute(int fromMinute)
getIndex
public int getIndex()
setIndex
public void setIndex(int index)
getToHour
public int getToHour()
setToHour
public void setToHour(int toHour)
getToMinute
public int getToMinute()
setToMinute
public void setToMinute(int toMinute)