net.sf.statcvs.reportmodel
Class TimePoint
java.lang.Object
net.sf.statcvs.reportmodel.TimePoint
- public class TimePoint
- extends Object
Encapsulates a data point in a TimeLine
- Version:
- $Id: TimePoint.java,v 1.1 2003/06/05 10:51:53 cyganiak Exp $
- Author:
- Richard Cyganiak
Constructor Summary |
TimePoint(Date date,
int value,
int delta)
Creates a new TimePoint |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimePoint
public TimePoint(Date date,
int value,
int delta)
- Creates a new TimePoint
- Parameters:
date
- the time point's datevalue
- the time point's valuedelta
- the time point's change relative to the previous value
getDate
public Date getDate()
- Returns:
- the time point's date
getDelta
public int getDelta()
- Returns:
- the time point's change relative to the previous value
getValue
public int getValue()
- Returns:
- the time point's value