|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Day | |
---|---|
org.hackystat.utilities.time.interval | Provides the Interval abstraction, which allows the user to specify time intervals at the grain-size of Days, Weeks, or Months. |
org.hackystat.utilities.time.period | Provides abstractions for Days, Weeks, and Months. |
org.hackystat.utilities.tstamp | Provides classes to facilitate manipulation of timestamps. |
Uses of Day in org.hackystat.utilities.time.interval |
---|
Methods in org.hackystat.utilities.time.interval that return Day | |
---|---|
Day |
IntervalUtility.getDay(java.lang.String yearString,
java.lang.String monthString,
java.lang.String dayString)
Get day object from year, month and day strings. |
Day |
DayInterval.getEndDay()
Gets the end day of this interval. |
Day |
DayInterval.getStartDay()
Gets the start day of this interval. |
Day |
DayIterator.next()
Gets the next day. |
Methods in org.hackystat.utilities.time.interval that return types with arguments of type Day | |
---|---|
java.util.Iterator<Day> |
DayInterval.iterator()
Returns an iterator over the days in this interval. |
Constructors in org.hackystat.utilities.time.interval with parameters of type Day | |
---|---|
DayInterval(Day startDay,
Day endDay)
Instantiates DayInterval with start day and end day. |
Uses of Day in org.hackystat.utilities.time.period |
---|
Methods in org.hackystat.utilities.time.period that return Day | |
---|---|
Day |
Week.getFirstDay()
Gets first day of this Week, always a Sunday. |
Day |
TimePeriod.getFirstDay()
Returns the first day in this TimePeriod. |
Day |
Month.getFirstDay()
Returns the first Day instance associated with this Month. |
Day |
Day.getFirstDay()
Returns the "first" day in the TimePeriod. |
static Day |
Day.getInstance()
Returns a Day instance corresponding to today. |
static Day |
Day.getInstance(java.util.Date date)
Returns a Day instance corresponding to the passed Date. |
static Day |
Day.getInstance(int year,
int month,
int day)
Returns a Day instance corresponding to the passed year, month, and day. |
static Day |
Day.getInstance(long timestamp)
Returns a Day instance corresponding to the day associated with timestamp. |
static Day |
Day.getInstance(java.lang.String dayString)
Returns a Day instance corresponding to the passed date in dd-MMM-yyyy format. |
static Day |
Day.getInstance(javax.xml.datatype.XMLGregorianCalendar xmlDay)
Returns a Day instance associated with this passed XMLGregorianCalendar. |
Day |
Week.getLastDay()
Gets the last day of this Week, always a Saturday. |
Day |
Month.getLastDay()
Returns the last Day instance associated with this Month. |
Day |
Day.inc(int increment)
Returns a Day instance corresponding to a day plus or minus increment days in the future or past. |
Methods in org.hackystat.utilities.time.period that return types with arguments of type Day | |
---|---|
java.util.List<Day> |
Week.getDays()
Returns a list with the seven Day instances in this Week. |
java.util.List<Day> |
Month.getDays()
Returns a list of Day instances from the first Day to the last Day in this Month. |
Methods in org.hackystat.utilities.time.period with parameters of type Day | |
---|---|
static int |
Day.daysBetween(Day day1,
Day day2)
Returns the number of days (positive or negative) between day1 and day2. |
boolean |
Day.isBefore(Day day)
Returns true if this Day preceeds the passed Day, false if the two Days are equal or this day comes after the passed Day. |
Constructors in org.hackystat.utilities.time.period with parameters of type Day | |
---|---|
Week(Day day)
Creates a Week instance that starts on Sunday and ends on Saturday and that includes the passed day. |
Uses of Day in org.hackystat.utilities.tstamp |
---|
Methods in org.hackystat.utilities.tstamp with parameters of type Day | |
---|---|
static javax.xml.datatype.XMLGregorianCalendar |
Tstamp.makeTimestamp(Day day)
Converts the specified Day into a javax.xml.datatype.XMLGregorianCalendar. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |