|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the object type of the granularitypublic interface IGranularity<T extends IGranularity>
A granularity describes a time unit (e.g. "Hour", "Minute", ...).
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of the granularity. |
boolean |
isLarger(T granularity)
Determines whether the given granularity is larger than the given one. |
boolean |
isSmaller(T granularity)
Determines whether the granularity is smaller than the given one. |
Method Detail |
---|
java.lang.String getName()
boolean isSmaller(T granularity)
granularity
- the granularity with which to perform the comparison
boolean isLarger(T granularity)
granularity
- the granularity with which to perform the comparison
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |