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.2 2008/04/02 11:22:14 benoitx 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