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

java.lang.Objectnet.sf.mpxj.Availability
public class Availability
This class represents a row from a resource's availability table.
| Constructor Summary | |
|---|---|
Availability(java.util.Date startDate,
java.util.Date endDate,
java.lang.Number units)
Constructor. |
|
| Method Summary | |
|---|---|
int |
compareTo(Availability o)
|
DateRange |
getRange()
Retrieves the date range of the availability period. |
java.lang.Number |
getUnits()
Retrieves the units for the availability period. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Availability(java.util.Date startDate,
java.util.Date endDate,
java.lang.Number units)
startDate - start dateendDate - end dateunits - units for the period| Method Detail |
|---|
public DateRange getRange()
public java.lang.Number getUnits()
public int compareTo(Availability o)
compareTo in interface java.lang.Comparable<Availability>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 | |||||||||