public abstract class DataSet
extends java.lang.Object
This abstract class is not designed to be extended by third-party code, which is why it does not have an accessible constructor.
All concrete subclasses of this abstract class are immutable. You can safely reuse them and call them from multiple threads at once.
Modifier and Type | Method and Description |
---|---|
abstract DayRange |
fullRange()
Returns a non-null
DayRange object indicating the period of
time that is covered by this DataSet . |
abstract double |
percentageEstimated()
Returns a number between 0 and 100 (both inclusive), indicating the
overall extent to which this
DataSet is based on estimated
data. |
public abstract double percentageEstimated()
DataSet
is based on estimated
data.
Generally speaking, data with a lower percentage-estimated figure is likely to be more reliable than data with a higher percentage-estimated figure.
public abstract DayRange fullRange()
DayRange
object indicating the period of
time that is covered by this DataSet
.
See www.degreedays.net/api/ for more about the Degree Days.net API.
You can sign up for a Degree Days.net API account and read the integration guide that is useful and applicable whether you are using Java or not.