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 |
---|---|
TimeSeriesDataValue[] |
TimeSeriesDataSet.getValues()
Returns a non-null, non-empty, chronologically-ordered array of the
TimeSeriesDataValue objects that make up this
TimeSeriesDataSet . |
TimeSeriesDataValue[] |
TimeSeriesDataSet.getValuesWithin(Day day)
Returns a non-null, possibly-empty, chronologically-ordered array of the
TimeSeriesDataValue objects from this
TimeSeriesDataSet that fall within the specified
Day . |
TimeSeriesDataValue[] |
TimeSeriesDataSet.getValuesWithin(DayRange dayRange)
Returns a non-null, possibly-empty, chronologically-ordered array of the
TimeSeriesDataValue objects from this
TimeSeriesDataSet that fall within the specified
DayRange . |
static TimeSeriesDataValue |
TimeSeriesDataValue.of(double value,
double percentageEstimated,
OffsetDayTime offsetDayTime)
Returns a non-null
TimeSeriesDataValue object with the
specified value, percentage estimated, and date-time. |
TimeSeriesDataValue |
TimeSeriesDataSet.valueAt(int index)
Returns the non-null
TimeSeriesDataValue at the specified
index , which must be between 0 (inclusive) and
TimeSeriesDataSet.valueCount() (exclusive). |
Modifier and Type | Method and Description |
---|---|
TimeSeriesDataSet.Builder |
TimeSeriesDataSet.Builder.addValue(TimeSeriesDataValue v) |
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.