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 |
---|---|
DatedBreakdown |
TimeSeriesDataSpec.breakdown()
Returns the non-null
DatedBreakdown object that defines the
period of time that the time-series data should cover (read more on how this
works). |
DatedBreakdown |
DatedDataSpec.breakdown()
Returns the non-null
DatedBreakdown object that defines the
way in which the degree days should be broken down and the period in time
that they should cover. |
Modifier and Type | Method and Description |
---|---|
static DatedDataSpec |
DataSpec.dated(Calculation calculation,
DatedBreakdown datedBreakdown)
Returns a non-null
DatedDataSpec object with the specified
Calculation and DatedBreakdown . |
static TimeSeriesDataSpec |
DataSpec.timeSeries(TimeSeriesCalculation timeSeriesCalculation,
DatedBreakdown datedBreakdown)
Returns a non-null
TimeSeriesDataSpec object with the
specified TimeSeriesCalculation and
DatedBreakdown . |
DatedDataSet |
DatedDataSet.transformToDated(DatedBreakdown targetBreakdown)
Returns a new
DatedDataSet object, based on the data
contained within this , but transformed to fit the
targetBreakdown . |
Constructor and Description |
---|
DatedDataSpec(Calculation calculation,
DatedBreakdown datedBreakdown)
Constructs a
DatedDataSpec object with the specified
Calculation and DatedBreakdown . |
TimeSeriesDataSpec(TimeSeriesCalculation timeSeriesCalculation,
DatedBreakdown datedBreakdown)
Constructs a
TimeSeriesDataSpec object with the specified
TimeSeriesCalculation and DatedBreakdown . |
Modifier and Type | Class and Description |
---|---|
class |
CustomBreakdown
A type of
DatedBreakdown used to specify that degree days should
be broken down into the custom date ranges specified e.g. to match
the dates of your energy-usage records. |
class |
DailyBreakdown
A type of
DatedBreakdown used to specify that degree days should
be broken down on a daily basis and cover a specific Period in time. |
class |
MonthlyBreakdown
A type of
DatedBreakdown used to specify that degree days should be
broken down on a monthly basis and cover a specific Period in time. |
class |
WeeklyBreakdown
A type of
DatedBreakdown used to specify that degree days should be
broken down on a weekly basis and cover a specific Period in time,
with weeks starting on a specific day of the week. |
class |
YearlyBreakdown
A type of
DatedBreakdown used to specify that degree days should be
broken down on a yearly (annual) basis and cover a specific Period in
time. |
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.