net.sf.statcvs.reportmodel

Class 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

Method Summary

Date
getDate()
int
getDelta()
int
getValue()

Constructor Details

TimePoint

public TimePoint(Date date,
                 int value,
                 int delta)
Creates a new TimePoint
Parameters:
date - the time point's date
value - the time point's value
delta - the time point's change relative to the previous value

Method Details

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