com.jrefinery.data
Class TimeAllocation

java.lang.Object
  |
  +--com.jrefinery.data.TimeAllocation

public class TimeAllocation
extends java.lang.Object

An arbitrary period of time.

This class is used in generating Gantt charts.

Author:
DG

Constructor Summary
TimeAllocation(java.util.Date start, java.util.Date end)
          Creates a new time allocation.
 
Method Summary
 java.util.Date getEnd()
          Returns the end date/time.
 java.util.Date getStart()
          Returns the start date/time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeAllocation

public TimeAllocation(java.util.Date start,
                      java.util.Date end)
Creates a new time allocation.
Parameters:
start - the start date/time.
end - the end date/time.
Method Detail

getStart

public java.util.Date getStart()
Returns the start date/time.
Returns:
the start date/time.

getEnd

public java.util.Date getEnd()
Returns the end date/time.
Returns:
the end date/time.