Uses of Class
net.degreedays.time.Day

Packages that use Day
net.degreedays.api.data For specifying and receiving degree-day data from the API. 
net.degreedays.time A set of classes for working with dates and date-ranges in a time-zone independent context. 
 

Uses of Day in net.degreedays.api.data
 

Methods in net.degreedays.api.data that return Day
abstract  Day DatedDataValue.firstDay()
          Returns the non-null first Day of the period covered by this DatedDataValue.
abstract  Day DatedDataValue.lastDay()
          Returns the non-null last Day of the period covered by this DatedDataValue.
 

Methods in net.degreedays.api.data with parameters of type Day
static DatedDataValue DatedDataValue.of(double value, double percentageEstimated, Day singleDay)
          Returns a non-null DatedDataValue object with the specified value and percentage estimated, and covering just the specified Day.
 

Uses of Day in net.degreedays.time
 

Methods in net.degreedays.time that return Day
 Day DayRange.dayAt(int zeroBasedIndex)
          Returns the non-null Day at the specified zero-based index within this DayRange.
 Day DayRange.first()
          Returns the non-null first Day in this DayRange.
static Day Day.fromCalendar(java.util.Calendar calendar)
           
static Day Day.fromDateUtc(java.util.Date date)
           
static Day Day.fromString(java.lang.String dateString)
          Parses a string date in ISO YYYY-MM-DD format (the format used by XML schema's date type), or YYYYMMDD format.
 Day DayRange.last()
          Returns the non-null last Day in this DayRange.
 Day Day.minusDays(int numberOfDays)
           
 Day Day.minusMonths(int numberOfMonths)
           
 Day Day.minusWeeks(int numberOfWeeks)
           
 Day Day.minusYears(int numberOfYears)
           
 Day Day.next()
          Returns the non-null Day that comes immediately after this Day in the calendar.
static Day Day.of(int year, int monthOfYearWithJanAs1, int dayOfMonth)
          Returns a non-null Day object representing a date with the specified year, month, and day.
 Day Day.plusDays(int numberOfDays)
           
 Day Day.plusMonths(int numberOfMonths)
           
 Day Day.plusWeeks(int numberOfWeeks)
           
 Day Day.plusYears(int numberOfYears)
           
 Day Day.previous()
          Returns the non-null Day that comes immediately before this Day in the calendar.
static Day Day.todayInSystemTimeZone()
           
static Day Day.todayInUtc()
           
 

Methods in net.degreedays.time with parameters of type Day
 boolean Day.after(Day comparisonDay)
          Tests whether this Day comes later in time than the specified comparison Day.
 boolean Day.before(Day comparisonDay)
          Tests whether this Day comes earlier in time than the specified comparison Day.
 boolean DayRange.contains(Day testDay)
          Returns true if the specified Day is fully contained within this DayRange; false otherwise.
 int Day.daysAfter(Day comparisonDay)
           
 int Day.daysBefore(Day comparisonDay)
           
 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.
 int DayRange.indexOf(Day day)
          Returns the index of the specified Day within this DayRange, or -1 if it is not contained by this DayRange.
 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).
 

Constructors in net.degreedays.time with parameters of type Day
DayRange(Day first, Day last)
          Constructs a DayRange object that starts on the specified first day and ends on the specified last day.
 



www.degreedays.net/api/