|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeUnits
These are units of time on which aggregations are performed. They may be absolute units of time (Aboslute hour) or repeating units of time (Month of the year).
Nested Class Summary | |
---|---|
static class |
TimeUnits.Unit
An enumeration of some basic time units. |
Method Summary | |
---|---|
int |
getFirstQtrStartMonth()
For quarters, this represents the month corresponding to the 1st quarter. |
int |
getMultiplier()
Get the multiplier for the time unit specified. |
long |
getTimeDimensionValue(long timestamp)
Given a timestamp, return its absolute time dimension value |
TimeUnits.Unit |
getTimeUnit()
Get the time unit |
Method Detail |
---|
TimeUnits.Unit getTimeUnit()
int getMultiplier()
int getFirstQtrStartMonth()
long getTimeDimensionValue(long timestamp)
timestamp
- the timestamp
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |