| 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 | 
|---|---|
DayTime | 
TimeSeriesDataValue.dayTime()
Returns a non-null  
DayTime object indicating the
 YYYY-MM-DDThh:mm date-time of this TimeSeriesDataValue in
 the local time-zone of the weather station. | 
| Modifier and Type | Method and Description | 
|---|---|
DayTime | 
OffsetDayTime.dayTime()
Returns a non-null  
DayTime object representing the
 YYYY-MM-DDThh:mm component of this OffsetDayTime. | 
static DayTime | 
DayTime.fromCalendar(java.util.Calendar c)
Returns the non-null  
DayTime object represented by the
 YEAR, MONTH, DAY_OF_MONTH,
 HOUR_OF_DAY, and MINUTE fields of
 calendar. | 
static DayTime | 
DayTime.fromString(java.lang.String dateTimeString)
Parses a string date-time in ISO  
YYYY-MM-DDThh:mm format
 (the format used by XML schema's dateTime type),
 YYYYMMDDThhmm format, or YYYYMMDDhhmm
 all-numeric format. | 
static DayTime | 
DayTime.of(Day day,
  Time time)
Returns a non-null  
DayTime object with the specified
 Day and Time. | 
static DayTime | 
DayTime.of(int year,
  int monthOfYearWithJanAs1,
  int dayOfMonth,
  int hour,
  int minute)
Returns a non-null  
DayTime object with the specified year,
 month, day, hour, and minute. | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
DayTime.after(DayTime comparisonDayTime)
Returns  
true if this DayTime is chronologically
 after comparisonDayTime; false otherwise. | 
boolean | 
DayTime.before(DayTime comparisonDayTime)
Returns  
true if this DayTime is chronologically
 before comparisonDayTime; false otherwise. | 
int | 
DayTime.compareTo(DayTime comparisonDayTime)
Compares two  
DayTime objects for chronological ordering. | 
long | 
DayTime.minutesAfter(DayTime comparisonDayTime)
Returns the number of minutes that this  
DayTime is after
 comparisonDayTime, which will be negative if this
 DayTime comes first chronologically. | 
long | 
DayTime.minutesBefore(DayTime comparisonDayTime)
Returns the number of minutes that this  
DayTime is before
 comparisonDayTime, which will be negative if
 comparisonDayTime comes first chronologically. | 
static OffsetDayTime | 
OffsetDayTime.of(DayTime dayTime,
  int offsetTotalMinutes)
Returns a non-null  
OffsetDayTime object with the specified
 local date-time and UTC offset. | 
| Constructor and Description | 
|---|
OffsetDayTime(DayTime dayTime,
             int offsetTotalMinutes)
Constructs an  
OffsetDayTime object with the specified local
 date-time and UTC offset. | 
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.