org.ow2.orchestra.pvm.internal.cal
Class DayPart
java.lang.Object
org.ow2.orchestra.pvm.internal.cal.DayPart
- All Implemented Interfaces:
- Serializable
public class DayPart
- extends Object
- implements 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 Date add(Date date,
long millis,
boolean isBusinessTime)
isStartAfter
public boolean isStartAfter(Date date)
includes
public boolean includes(Date date)
getStartTime
public Date getStartTime(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)
Copyright © 2011 OW2 Consortium. All Rights Reserved.