|
||||||||||
| 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(Date startDate,
Date endDate,
Number units)
Constructor. |
|
| Method Summary | |
|---|---|
int |
compareTo(Availability o)
|
DateRange |
getRange()
Retrieves the date range of the availability period. |
Number |
getUnits()
Retrieves the units for the availability period. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Availability(Date startDate,
Date endDate,
Number units)
startDate - start dateendDate - end dateunits - units for the period| Method Detail |
|---|
public DateRange getRange()
public Number getUnits()
public int compareTo(Availability o)
compareTo in interface Comparable<Availability>public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||