| Package | Description | 
|---|---|
| net.degreedays.api.data | 
 For specifying and receiving degree-day data and temperature data from the API. 
 | 
| net.degreedays.time | 
 Classes for working with dates, times, and date-ranges in the context of degree days and energy data. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract OffsetDayTime | 
TimeSeriesDataValue.offsetDayTime()
Returns a non-null  
OffsetDayTime object indicating the
 YYYY-MM-DDThh:mm date-time of this TimeSeriesDataValue, both
 in the local time-zone of the weather station, and relative to UTC. | 
| Modifier and Type | Method and Description | 
|---|---|
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. | 
| Modifier and Type | Method and Description | 
|---|---|
static OffsetDayTime | 
OffsetDayTime.fromString(java.lang.String dateTimeAndOffsetString)
Parses a string date-time with UTC-offset time-zone information included
 in ISO format like e.g.  
2020-04-10T12:35Z (
 Z indicating the UTC time-zone i.e. no offset), or
 2019-01-31T18:22-08:00 (8 hours behind UTC). | 
static OffsetDayTime | 
OffsetDayTime.of(DayTime dayTime,
  int offsetTotalMinutes)
Returns a non-null  
OffsetDayTime object with the specified
 local date-time and UTC offset. | 
static OffsetDayTime | 
OffsetDayTime.of(Day day,
  Time time,
  int offsetTotalMinutes)
Returns a non-null  
OffsetDayTime object with the specified
 local date, time, and UTC offset. | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
OffsetDayTime.after(OffsetDayTime comparisonOffsetDayTime)
Returns  
true if the instant in time represented by this
 OffsetDayTime is after the instant in time represented by
 comparisonOffsetDayTime; false otherwise. | 
boolean | 
OffsetDayTime.before(OffsetDayTime comparisonOffsetDayTime)
Returns  
true if the instant in time represented by this
 OffsetDayTime is before the instant in time represented by
 comparisonOffsetDayTime; false otherwise. | 
int | 
OffsetDayTime.compareTo(OffsetDayTime comparisonOffsetDayTime)
Compares two  
OffsetDayTime objects for chronological
 ordering, considering first the instants in time that they represent, and
 only considering their local clock times if those instants are identical. | 
long | 
OffsetDayTime.minutesAfter(OffsetDayTime comparisonOffsetDayTime)
Returns the number of minutes that the instant in time represented by
 this  
OffsetDayTime is after that represented by
 comparisonOffsetDayTime, which will be negative if this
 OffsetDayTime comes first chronologically. | 
long | 
OffsetDayTime.minutesBefore(OffsetDayTime comparisonOffsetDayTime)
Returns the number of minutes that the instant in time represented by
 this  
OffsetDayTime is before that represented by
 comparisonOffsetDayTime, which will be negative if
 comparisonOffsetDayTime comes first chronologically. | 
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.