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 DailyBreakdown |
DatedBreakdown.daily(Period period)
Returns a non-null
DailyBreakdown object that specifies
daily degree days covering the specified period in time. |
static FullYearsAverageBreakdown |
AverageBreakdown.fullYears(Period period)
Returns a non-null
FullYearsAverageBreakdown object that
specifies average degree days derived from data covering full calendar
years determined by the specified period . |
static MonthlyBreakdown |
DatedBreakdown.monthly(Period period)
Returns a non-null
MonthlyBreakdown object that specifies
monthly degree days covering the specified period in time
and broken down according to regular calendar months. |
static MonthlyBreakdown |
DatedBreakdown.monthly(Period period,
StartOfMonth startOfMonth)
Returns a non-null
MonthlyBreakdown object that specifies
monthly degree days covering the specified period in time,
with each "month" starting on the specified day of the month. |
static WeeklyBreakdown |
DatedBreakdown.weekly(Period period,
DayOfWeek firstDayOfWeek)
Returns a non-null
WeeklyBreakdown object that specifies
weekly degree days covering the specified period in time, with each
"week" starting on the specified day of the week. |
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 | Class and Description |
---|---|
class |
DayRangePeriod
A type of
Period that is defined explicitly in terms of the range of
days that it covers. |
class |
LatestValuesPeriod
A type of
Period that automatically resolves to a date range
including the latest available data and the specified number of degree-day
values. |
Modifier and Type | Method and Description |
---|---|
Period |
YearlyBreakdown.period()
Returns the non-null period in time that the yearly breakdown should
cover.
|
Period |
WeeklyBreakdown.period()
Returns the non-null period in time that the weekly breakdown should
cover.
|
Period |
MonthlyBreakdown.period()
Returns the non-null period in time that the monthly breakdown should
cover.
|
Period |
FullYearsAverageBreakdown.period()
Returns the non-null period in time that the breakdown should average
data from.
|
Period |
DailyBreakdown.period()
Returns the non-null period in time that the daily breakdown should
cover.
|
Constructor and Description |
---|
DailyBreakdown(Period period)
Constructs a
DailyBreakdown object that specifies daily
degree days covering the specified period in time. |
FullYearsAverageBreakdown(Period period)
Constructs a
FullYearsAverageBreakdown object that specifies
average degree days derived from data covering full calendar years
determined by the specified period . |
MonthlyBreakdown(Period period)
Constructs a
MonthlyBreakdown object that specifies monthly
degree days covering the specified period in time and broken
down according to regular calendar months. |
MonthlyBreakdown(Period period,
StartOfMonth startOfMonth)
Constructs a
MonthlyBreakdown object that specifies monthly
degree days covering the specified period in time, with each
"month" starting on the specified day of the month. |
WeeklyBreakdown(Period period,
DayOfWeek firstDayOfWeek)
Constructs a
WeeklyBreakdown object that specifies weekly
degree days covering the specified period in time, with each "week"
starting on the specified day of the week. |
YearlyBreakdown(Period period)
Constructs a
YearlyBreakdown object that specifies yearly
degree days covering the specified period in time and broken
down according to regular calendar years. |
YearlyBreakdown(Period period,
StartOfYear startOfYear)
Constructs a
YearlyBreakdown object that specifies yearly
degree days covering the specified period in time, with each
"year" starting on the specified day of the year. |
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.