|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectnet.sf.mpxj.ProjectCalendarDateRanges
net.sf.mpxj.ProjectCalendarException
public final class ProjectCalendarException
This class represents instances of Calendar Exception records from an MPX file. It is used to define exceptions to the working days described in both base and resource calendars.
| Constructor Summary | |
|---|---|
ProjectCalendarException()
|
|
| Method Summary | |
|---|---|
int |
compareTo(ProjectCalendarException o)
|
boolean |
contains(java.util.Date date)
This method determines whether the given date falls in the range of dates covered by this exception. |
java.util.Date |
getFromDate()
Returns the from date. |
java.util.Date |
getToDate()
Get to date. |
boolean |
getWorking()
Gets working status. |
void |
setFromDate(java.util.Date from)
Sets from date. |
void |
setToDate(java.util.Date to)
Sets To Date. |
void |
setWorking(boolean flag)
Sets working status of this exception. |
java.lang.String |
toString()
|
| Methods inherited from class net.sf.mpxj.ProjectCalendarDateRanges |
|---|
addRange, getRange, getRangeCount, iterator, setRange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectCalendarException()
| Method Detail |
|---|
public java.util.Date getFromDate()
public void setFromDate(java.util.Date from)
from - datepublic java.util.Date getToDate()
public void setToDate(java.util.Date to)
to - Datepublic boolean getWorking()
public void setWorking(boolean flag)
flag - Boolean flagpublic boolean contains(java.util.Date date)
date - Date to be tested
public int compareTo(ProjectCalendarException o)
compareTo in interface java.lang.Comparable<ProjectCalendarException>public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||