|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Period | |
---|---|
net.degreedays.api.data | For specifying and receiving degree-day data from the API. |
net.degreedays.api.data.impl | Implementations of abstract types from net.degreedays.api.data . |
Uses of Period in net.degreedays.api.data |
---|
Methods in net.degreedays.api.data with parameters of type Period | |
---|---|
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. |
Uses of Period in net.degreedays.api.data.impl |
---|
Subclasses of Period in net.degreedays.api.data.impl | |
---|---|
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. |
Methods in net.degreedays.api.data.impl that return Period | |
---|---|
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. |
Constructors in net.degreedays.api.data.impl with parameters of type Period | |
---|---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |