Uses of Class
net.degreedays.time.DayRange

Packages that use DayRange
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
net.degreedays.time A set of classes for working with dates and date-ranges in a time-zone independent context. 
 

Uses of DayRange in net.degreedays.api.data
 

Methods in net.degreedays.api.data that return DayRange
abstract  DayRange DatedDataValue.dayRange()
          Returns a non-null DayRange object indicating the period in time that this DatedDataValue covers.
 DayRange DatedDataSet.fullRange()
          Returns a non-null DayRange object indicating the period of time that is covered by this DatedDataSet's values.
abstract  DayRange DataSet.fullRange()
          Returns a non-null DayRange object indicating the period of time that is covered by this DataSet.
 DayRange AverageDataSet.fullRange()
          Returns a non-null DayRange object indicating the period of data from which this AverageDataSet's figures were calculated.
 DayRange DataSpecs.getFullRangeOrNull(DayRange availableDataRange)
          Returns the full range of days that this set of DataSpec objects would cover given temperature data covering availableDataRange, or null if availableDataRange is not of use to any of the DataSpec objects.
abstract  DayRange Breakdown.getFullRangeOrNull(DayRange availableDataRange)
          Returns the range of days that this breakdown would cover given source data covering availableDataRange, or null if availableDataRange would not be enough for this breakdown.
 

Methods in net.degreedays.api.data with parameters of type DayRange
static DayRangePeriod Period.dayRange(DayRange dayRange)
          Returns a non-null DayRangePeriod object that specifies the period covered by dayRange.
 DayRange DataSpecs.getFullRangeOrNull(DayRange availableDataRange)
          Returns the full range of days that this set of DataSpec objects would cover given temperature data covering availableDataRange, or null if availableDataRange is not of use to any of the DataSpec objects.
abstract  DayRange Breakdown.getFullRangeOrNull(DayRange availableDataRange)
          Returns the range of days that this breakdown would cover given source data covering availableDataRange, or null if availableDataRange would not be enough for this breakdown.
static DatedDataValue DatedDataValue.of(double value, double percentageEstimated, DayRange dayRange)
          Returns a non-null DatedDataValue object with the specified value and percentage estimated, and covering the specified DayRange.
abstract  MaybeEmptyDayRanges DatedBreakdown.toDayRanges(DayRange availableDataRange)
          Returns the breakdown in terms of the day ranges that would constitute it given source data covering availableDataRange.
 

Uses of DayRange in net.degreedays.api.data.impl
 

Methods in net.degreedays.api.data.impl that return DayRange
 DayRange DayRangePeriod.dayRange()
          Returns the non-null DayRange object that specifies the day(s) that this period covers.
 DayRange YearlyBreakdown.getFullRangeOrNull(DayRange availableDataRange)
          Returns the range of days that this breakdown would cover given source data covering availableDataRange, or null if availableDataRange would not be enough for this breakdown.
 DayRange WeeklyBreakdown.getFullRangeOrNull(DayRange availableDataRange)
          Returns the range of days that this breakdown would cover given source data covering availableDataRange, or null if availableDataRange would not be enough for this breakdown.
 DayRange MonthlyBreakdown.getFullRangeOrNull(DayRange availableDataRange)
          Returns the range of days that this breakdown would cover given source data covering availableDataRange, or null if availableDataRange would not be enough for this breakdown.
 DayRange FullYearsAverageBreakdown.getFullRangeOrNull(DayRange availableDataRange)
          Returns the range of days that this breakdown would cover given source data covering availableDataRange, or null if availableDataRange would not be enough for this breakdown.
 DayRange DailyBreakdown.getFullRangeOrNull(DayRange availableDataRange)
          Returns the range of days that this breakdown would cover given source data covering availableDataRange, or null if availableDataRange would not be enough for this breakdown.
 DayRange DayRangePeriod.getMinimumDayRange()
          Returns the non-null minimum day range that was specified using DayRangePeriod.withMinimumDayRange(net.degreedays.time.DayRange), or throws an IllegalStateException if no such range was specified (call DayRangePeriod.hasMinimumDayRange() before calling this).
 

Methods in net.degreedays.api.data.impl with parameters of type DayRange
 DayRange YearlyBreakdown.getFullRangeOrNull(DayRange availableDataRange)
          Returns the range of days that this breakdown would cover given source data covering availableDataRange, or null if availableDataRange would not be enough for this breakdown.
 DayRange WeeklyBreakdown.getFullRangeOrNull(DayRange availableDataRange)
          Returns the range of days that this breakdown would cover given source data covering availableDataRange, or null if availableDataRange would not be enough for this breakdown.
 DayRange MonthlyBreakdown.getFullRangeOrNull(DayRange availableDataRange)
          Returns the range of days that this breakdown would cover given source data covering availableDataRange, or null if availableDataRange would not be enough for this breakdown.
 DayRange FullYearsAverageBreakdown.getFullRangeOrNull(DayRange availableDataRange)
          Returns the range of days that this breakdown would cover given source data covering availableDataRange, or null if availableDataRange would not be enough for this breakdown.
 DayRange DailyBreakdown.getFullRangeOrNull(DayRange availableDataRange)
          Returns the range of days that this breakdown would cover given source data covering availableDataRange, or null if availableDataRange would not be enough for this breakdown.
 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.
 DayRangePeriod DayRangePeriod.withMinimumDayRange(DayRange minimumDayRange)
          Returns a new DayRangePeriod with the same DayRangePeriod.dayRange() as this, but also specifying minimumDayRange as the minimum range required.
 

Constructors in net.degreedays.api.data.impl with parameters of type DayRange
DayRangePeriod(DayRange dayRange)
          Constructs a DayRangePeriod object that specifies the period covered by dayRange.
 

Uses of DayRange in net.degreedays.time
 

Methods in net.degreedays.time that return DayRange
 DayRange Day.asRange()
          Returns a non-null DayRange covering this Day only.
 DayRange Day.fullCalendarMonth()
           
 DayRange Day.fullCalendarYear()
           
 DayRange Day.fullMonth(StartOfMonth startOfMonth)
           
abstract  DayRange DayRanges.fullRange()
           
 DayRange MaybeEmptyDayRanges.fullRangeOrNull()
           
 DayRange Day.fullWeek(DayOfWeek firstDayOfWeek)
           
 DayRange Day.fullYear(StartOfYear startOfYear)
           
 DayRange MaybeEmptyDayRanges.get(int index)
           
 DayRange DayRange.greedyUnion(Day dayToIncludeInUnion)
          Returns the non-null DayRange that includes all the days within this DayRange, the specified Day, and any days between.
 DayRange DayRange.greedyUnion(DayRange rangeToIncludeInUnion)
          Returns the non-null DayRange that includes all the days within this DayRange, the specified DayRange, and any days between.
 DayRange DayRange.intersectionOrNull(DayRange intersectWith)
          Returns a DayRange covering the days that are contained within both this DayRange and the specified DayRange, or null if there is no such intersection.
 DayRange Day.to(Day firstOrLastDayInRange)
          Returns the non-null DayRange covering (inclusively) the days between this Day and firstOrLastDayInRange (which can be before, after, or equal to this Day).
 

Methods in net.degreedays.time with parameters of type DayRange
 boolean DayRange.contains(DayRange testRange)
          Returns true if the specified DayRange is contained within this DayRange; false otherwise.
 DayRange DayRange.greedyUnion(DayRange rangeToIncludeInUnion)
          Returns the non-null DayRange that includes all the days within this DayRange, the specified DayRange, and any days between.
 int MaybeEmptyDayRanges.indexOf(DayRange dayRange)
           
 DayRange DayRange.intersectionOrNull(DayRange intersectWith)
          Returns a DayRange covering the days that are contained within both this DayRange and the specified DayRange, or null if there is no such intersection.
 



www.degreedays.net/api/