| java.lang.Object com.projity.algorithm.RangeIntervalGenerator
RangeIntervalGenerator | public class RangeIntervalGenerator implements IntervalGenerator(Code) | | A generator corresponding to a start/end with an optional stepping value. The stepping value is specified as
a unit type of the Calendar class (DAY_OF_YEAR for example) as a gregorian calendar is used.
|
calendarStepAmount | int calendarStepAmount(Code) | | |
calendarStepUnit | int calendarStepUnit(Code) | | |
currentEnd | long currentEnd(Code) | | |
betweenInstance | public static RangeIntervalGenerator betweenInstance(long start, long end)(Code) | | Used if filtering values between dates, not in a groupBy
Parameters: start - Parameters: end - |
canBeShared | public boolean canBeShared()(Code) | | |
continuous | public static RangeIntervalGenerator continuous()(Code) | | Continuous time is considered from 1/1/1970 to 1/1/3000. Note I do not use Long.MAX_VALUE because adding to it would cause wrapping to negative values
|
currentEnd | public long currentEnd()(Code) | | |
currentStart | public long currentStart()(Code) | | |
getEnd | public long getEnd()(Code) | | Returns the end. |
getStart | public long getStart()(Code) | | Returns the start. |
hasNext | public boolean hasNext()(Code) | | |
isCurrentActive | public boolean isCurrentActive()(Code) | | |
|
|