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.
|
net.degreedays.geo |
Classes for handling geographic information like longitude/latitude positions and distances.
|
Modifier and Type | Method and Description |
---|---|
LongLat |
Station.longLat()
Returns the non-null longitude/latitude location of the weather station.
|
LongLat |
LocationInfoResponse.targetLongLat()
Returns the non-null
LongLat object that specifies the
geographic position of the Location from the
LocationInfoRequest that led to this response. |
LongLat |
LocationDataResponse.targetLongLat()
Returns the non-null
LongLat object that specifies the
geographic position of the Location from the
LocationDataRequest that led to this response. |
Modifier and Type | Method and Description |
---|---|
static LongLatLocation |
Location.longLat(LongLat longLat)
Returns a non-null
LongLatLocation object with the specified
longitude and latitude position. |
Station.Builder |
Station.Builder.setLongLat(LongLat longLat) |
LocationInfoResponse.Builder |
LocationInfoResponse.Builder.setTargetLongLat(LongLat targetLongLat) |
LocationDataResponse.Builder |
LocationDataResponse.Builder.setTargetLongLat(LongLat targetLongLat) |
Modifier and Type | Method and Description |
---|---|
LongLat |
LongLatLocation.longLat()
Returns the non-null longitude/latitude position of this
LongLatLocation . |
Constructor and Description |
---|
LongLatLocation(LongLat longLat)
Constructs a
LongLatLocation object with the specified
longitude and latitude position. |
Modifier and Type | Method and Description |
---|---|
LongLat |
RegressionResponse.targetLongLat()
Returns the non-null
LongLat object that specifies the
geographic position of the Location from the
RegressionRequest that led to this response. |
Modifier and Type | Method and Description |
---|---|
RegressionResponse.Builder |
RegressionResponse.Builder.setTargetLongLat(LongLat targetLongLat) |
Modifier and Type | Method and Description |
---|---|
LongLat |
LongLat.east(Distance distance)
Returns a
LongLat object that represents a position the
specified distance East of this . |
LongLat |
LongLat.north(Distance distance)
Returns a
LongLat object that represents a position the
specified distance North of this . |
LongLat |
LongLat.south(Distance distance)
Returns a
LongLat object that represents a position the
specified distance South of this . |
LongLat |
LongLat.west(Distance distance)
Returns a
LongLat object that represents a position the
specified distance West of this . |
Modifier and Type | Method and Description |
---|---|
Distance |
LongLat.distanceTo(LongLat longLat)
Returns a
Distance object that represents the shortest
distance along the surface of the Earth from this to the
specified longLat . |
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.