Package | Description |
---|---|
net.degreedays.api.data |
For specifying and receiving degree-day data and temperature data from the API.
|
Modifier and Type | Method and Description |
---|---|
DatedDataValue[] |
DatedDataSet.getValues()
Returns a non-null, non-empty, chronologically-ordered array of the
DatedDataValue objects that make up this
DatedDataSet . |
static DatedDataValue |
DatedDataValue.of(double value,
double percentageEstimated,
Day singleDay)
Returns a non-null
DatedDataValue object with the specified
value and percentage estimated, and covering just the specified
Day . |
static DatedDataValue |
DatedDataValue.of(double value,
double percentageEstimated,
DayRange dayRange)
Returns a non-null
DatedDataValue object with the specified
value and percentage estimated, and covering the specified
DayRange . |
DatedDataValue |
DatedDataSet.valueAt(int index)
Returns the
DatedDataValue at the specified
index , which must be between 0 (inclusive) and
DatedDataSet.valueCount() (exclusive). |
Modifier and Type | Method and Description |
---|---|
DatedDataSet.Builder |
DatedDataSet.Builder.addValue(DatedDataValue v)
Adds a
DatedDataValue object. |
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.