market.statistics
Class PriceHistoryEntry
java.lang.Object
|
+--market.statistics.HistoryEntry
|
+--market.statistics.PriceHistoryEntry
- All Implemented Interfaces:
- Serializable
- public class PriceHistoryEntry
- extends HistoryEntry
- See Also:
- Serialized Form
Method Summary |
boolean |
isProvisional()
Returns if an Entry is privsional or not. |
PriceHistoryEntry
public PriceHistoryEntry(Calendar date,
int value)
isProvisional
public boolean isProvisional()
- Returns if an Entry is privsional or not. An entry is provisional (and can therefore be replaced) if
- it has been created in the morning before the market opened. The market hasn't opened and
the date hasn't advanced since then, that means, it is still the same morning since the
last price change.
- it has been created in the evening after the market closed, and this evening has not yet
passed by, that means, it is still the same evening since the last price change.
- it has been created in the evening after the market closed, but now is the following morning and
the market hasn't opened yet.
- Returns:
- if an Entry is provisional or not.