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 . |
net.degreedays.api.regression |
For using the API to run regressions against your energy-usage data.
|
Modifier and Type | Method and Description |
---|---|
static TemperatureUnit |
TemperatureUnit.fromString(java.lang.String string)
|
TemperatureUnit |
Temperature.unit()
Returns the non-null unit of this temperature.
|
static TemperatureUnit |
TemperatureUnit.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TemperatureUnit[] |
TemperatureUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static TemperatureTimeSeriesCalculation |
TimeSeriesCalculation.hourlyTemperature(TemperatureUnit temperatureUnit)
Returns a non-null
TemperatureTimeSeriesCalculation object
with TimeSeriesInterval.HOURLY and the specified
TemperatureUnit . |
Constructor and Description |
---|
Temperature(double value,
TemperatureUnit unit)
Constructs a
Temperature object with the specified units and
value (rounded to the nearest 0.1 degrees). |
Modifier and Type | Method and Description |
---|---|
TemperatureUnit |
TemperatureTimeSeriesCalculation.temperatureUnit()
Returns the non-null
TemperatureUnit indicating whether the
temperatures should be calculated in Celsius or Fahrenheit. |
Constructor and Description |
---|
TemperatureTimeSeriesCalculation(TimeSeriesInterval interval,
TemperatureUnit temperatureUnit)
Constructs a
TimeSeriesCalculation object with the specified
interval and temperature unit. |
Modifier and Type | Method and Description |
---|---|
TemperatureUnit |
RegressionTestPlan.temperatureUnit()
Returns the non-null
TemperatureUnit that specifies whether
Celsius-based or Fahrenheit-based degree days should be used in
regressions. |
Constructor and Description |
---|
Builder(TemperatureUnit temperatureUnit)
Constructs a
RegressionTestPlan.Builder with the
specified TemperatureUnit (to be used for degree days)
and default values for everything else. |
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.