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 . |
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 MaybeEmptyDayRanges |
DatedBreakdown.toDayRanges(DayRange availableDataRange)
Returns the breakdown in terms of the day ranges that would constitute it
given source data covering
availableDataRange . |
Modifier and Type | Method and Description |
---|---|
MaybeEmptyDayRanges |
YearlyBreakdown.toDayRanges(DayRange availableDataRange)
Returns the breakdown in terms of the day ranges that would constitute it
given source data covering
availableDataRange . |
MaybeEmptyDayRanges |
WeeklyBreakdown.toDayRanges(DayRange availableDataRange)
Returns the breakdown in terms of the day ranges that would constitute it
given source data covering
availableDataRange . |
MaybeEmptyDayRanges |
MonthlyBreakdown.toDayRanges(DayRange availableDataRange)
Returns the breakdown in terms of the day ranges that would constitute it
given source data covering
availableDataRange . |
MaybeEmptyDayRanges |
DailyBreakdown.toDayRanges(DayRange availableDataRange)
Returns the breakdown in terms of the day ranges that would constitute it
given source data covering
availableDataRange . |
MaybeEmptyDayRanges |
CustomBreakdown.toDayRanges(DayRange availableDataRange)
Returns the breakdown in terms of the day ranges that would constitute it
given source data covering
availableDataRange . |
Modifier and Type | Class and Description |
---|---|
class |
DayRanges
A chronologically-ordered set of one or more non-overlapping
DayRange
objects. |
Modifier and Type | Method and Description |
---|---|
MaybeEmptyDayRanges |
DayRange.fullCalendarMonthsWithin()
Returns a non-null possibly-empty set of
DayRange objects
representing the full calendar months that are fully contained within
this DayRange . |
MaybeEmptyDayRanges |
DayRange.fullCalendarYearsWithin()
Returns a non-null possibly-empty set of
DayRange objects
representing the full calendar years that are fully contained within this
DayRange . |
MaybeEmptyDayRanges |
DayRange.fullMonthsWithin(StartOfMonth startOfMonth)
Returns a non-null possibly-empty set of
DayRange objects
representing the full months (starting on the specified
StartOfMonth ) that are fully contained within this
DayRange . |
MaybeEmptyDayRanges |
DayRange.fullWeeksWithin(DayOfWeek firstDayOfWeek)
Returns a non-null possibly-empty set of
DayRange objects
representing the full weeks (starting on the specified
firstDayOfWeek ) that are fully contained within this
DayRange . |
MaybeEmptyDayRanges |
DayRange.fullYearsWithin(StartOfYear startOfYear)
Returns a non-null possibly-empty set of
DayRange objects
representing the full years (starting on the specified
StartOfYear ) that are fully contained within this
DayRange . |
static MaybeEmptyDayRanges |
MaybeEmptyDayRanges.getEmpty()
Returns an empty
MaybeEmptyDayRanges object - definitely
empty in this case, not just maybe! |
MaybeEmptyDayRanges |
MaybeEmptyDayRanges.subRanges(int fromIndexInclusive,
int toIndexExclusive)
Returns a
MaybeEmptyDayRanges (which will be a
DayRanges if it isn't empty) containing the DayRange
objects between the specified indexes in this chronologically-ordered
set. |
MaybeEmptyDayRanges |
MaybeEmptyDayRanges.subRangesWithin(DayRange dayRange)
Returns a
MaybeEmptyDayRanges (which will be a
DayRanges if it isn't empty) containing any DayRange
objects from this set that are fully contained within the specified
DayRange . |
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.