|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.telemetry.analyzer.reducer.util.IntervalUtility.Period
public static class IntervalUtility.Period
Provides a Time period, which is either day, week or month.
Constructor Summary | |
---|---|
IntervalUtility.Period(org.hackystat.utilities.time.period.Day day)
Constructs this instance from day. |
|
IntervalUtility.Period(org.hackystat.utilities.time.period.Month month)
Constructs this instance from month. |
|
IntervalUtility.Period(org.hackystat.utilities.time.period.Week week)
Constructs this instance from week. |
Method Summary | |
---|---|
org.hackystat.utilities.time.period.Day |
getEndDay()
Gets the end day of the period, inclusive. |
int |
getNumOfDays()
Gets the number of day in this period, including both start day and end day. |
org.hackystat.utilities.time.period.Day |
getStartDay()
Gets the start day of the period, inclusive. |
org.hackystat.utilities.time.period.TimePeriod |
getTimePeriod()
Gets the time period wrapped by this instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntervalUtility.Period(org.hackystat.utilities.time.period.Day day)
day
- The day.public IntervalUtility.Period(org.hackystat.utilities.time.period.Week week)
week
- The week.public IntervalUtility.Period(org.hackystat.utilities.time.period.Month month)
month
- The month.Method Detail |
---|
public org.hackystat.utilities.time.period.TimePeriod getTimePeriod()
TimePeriod
object.public org.hackystat.utilities.time.period.Day getStartDay()
public org.hackystat.utilities.time.period.Day getEndDay()
public int getNumOfDays()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |