market.statistics
Class HistoryEntry
java.lang.Object
|
+--market.statistics.HistoryEntry
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- PriceHistoryEntry
- public class HistoryEntry
- extends Object
- implements Serializable
Used by history lists to contain both a date and a value.
- See Also:
orderHistory
,
priceHistory
,
customerHistory
,
Serialized Form
date
protected Calendar date
value
protected int value
HistoryEntry
public HistoryEntry(Calendar date,
int value)
- Parameters:
date
- the date of the entry.value
- the value of the entry.
getDate
public Calendar getDate()
- Returns:
- the date of the entry.
getValue
public int getValue()
- Returns:
- the value of the entry.
toString
public String toString()
- Overrides:
toString
in class Object