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 |
---|---|
static YearlyBreakdown |
DatedBreakdown.yearly(Period period)
Returns a non-null
YearlyBreakdown object that specifies
yearly degree days covering the specified period in time and
broken down according to regular calendar years. |
static YearlyBreakdown |
DatedBreakdown.yearly(Period period,
StartOfYear startOfYear)
Returns a non-null
YearlyBreakdown object that specifies
yearly degree days covering the specified period in time,
with each "year" starting on the specified day of the year. |
Modifier and Type | Method and Description |
---|---|
YearlyBreakdown |
YearlyBreakdown.withAllowPartialLatest(boolean allowPartialLatest)
Returns a
YearlyBreakdown with the same period()
and startOfYear() as this , but with the
DatedBreakdown.allowPartialLatest() property set to the specified value. |
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.