Package | Description |
---|---|
net.degreedays.api.data |
For specifying and receiving degree-day data and temperature data from the API.
|
net.degreedays.api.data.impl |
Implementations of abstract types from
net.degreedays.api.data . |
Modifier and Type | Method and Description |
---|---|
Calculation |
DatedDataSpec.calculation()
Returns the non-null
Calculation object that defines the way
in which the degree days should be calculated in terms of their base
temperature and whether they should be heating degree days or cooling
degree days. |
Calculation |
AverageDataSpec.calculation()
Returns the non-null
Calculation object that defines the way
in which the degree days should be calculated in terms of their base
temperature and whether they should be heating degree days or cooling
degree days. |
Modifier and Type | Method and Description |
---|---|
static AverageDataSpec |
DataSpec.average(Calculation calculation,
AverageBreakdown averageBreakdown)
Returns a non-null
AverageDataSpec object with the
specified Calculation and AverageBreakdown . |
static DatedDataSpec |
DataSpec.dated(Calculation calculation,
DatedBreakdown datedBreakdown)
Returns a non-null
DatedDataSpec object with the specified
Calculation and DatedBreakdown . |
Constructor and Description |
---|
AverageDataSpec(Calculation calculation,
AverageBreakdown averageBreakdown)
Constructs an
AverageDataSpec object with the specified
Calculation and AverageBreakdown . |
DatedDataSpec(Calculation calculation,
DatedBreakdown datedBreakdown)
Constructs a
DatedDataSpec object with the specified
Calculation and DatedBreakdown . |
Modifier and Type | Class and Description |
---|---|
class |
CoolingDegreeDaysCalculation
A type of
Calculation that specifies that cooling degree days should
be calculated and that holds the base temperature that they should be
calculated to. |
class |
HeatingDegreeDaysCalculation
A type of
Calculation that specifies that heating degree days should
be calculated and that holds the base temperature that they should be
calculated to. |
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.