| java.lang.Object com.projity.script.object.TimeIntervals
TimeIntervals | public class TimeIntervals (Code) | | |
Method Summary | |
public static TimeWindow | generateWindow(long start, int scale, int sign) | public static int | generateWindows(int scale, long ref, long start, long end, int winCount, LinkedList<TimeWindow> windows) | public float | getCenter() | public TimeWindow | getCenterWin() | public long | getEnd() | public int | getScale() | public long | getStart() | public int | getTranslation() | public LinkedList<TimeWindow> | getWin() | protected static void | indexWindows(int winId, LinkedList<TimeWindow> win) | public void | setCenter(float center) | public void | setScale(int scale) | public void | setTranslation(int translation) | public TimeIntervals | translate(int winCount) | public void | update() | public void | update(long start, long end) | public void | update(long start, long end, int winCount) |
DAY | final public static int DAY(Code) | | |
DEFAULT_WINDOW_COUNT | final protected static int DEFAULT_WINDOW_COUNT(Code) | | |
MAX_SCALE | final public static int MAX_SCALE(Code) | | |
MIN_SCALE | final public static int MIN_SCALE(Code) | | |
MONTH | final public static int MONTH(Code) | | |
QUARTER | final public static int QUARTER(Code) | | |
WEEK | final public static int WEEK(Code) | | |
WINDOW_INTERVALS | final protected static int WINDOW_INTERVALS(Code) | | |
YEAR | final public static int YEAR(Code) | | |
center | protected float center(Code) | | |
scale | protected int scale(Code) | | |
startend | protected long startend(Code) | | |
translation | protected int translation(Code) | | |
winId | protected int winId(Code) | | |
generateWindow | public static TimeWindow generateWindow(long start, int scale, int sign)(Code) | | |
generateWindows | public static int generateWindows(int scale, long ref, long start, long end, int winCount, LinkedList<TimeWindow> windows)(Code) | | |
getCenter | public float getCenter()(Code) | | |
getEnd | public long getEnd()(Code) | | |
getScale | public int getScale()(Code) | | |
getStart | public long getStart()(Code) | | |
getTranslation | public int getTranslation()(Code) | | |
setCenter | public void setCenter(float center)(Code) | | |
setScale | public void setScale(int scale)(Code) | | |
setTranslation | public void setTranslation(int translation)(Code) | | |
update | public void update()(Code) | | |
update | public void update(long start, long end)(Code) | | |
update | public void update(long start, long end, int winCount)(Code) | | |
|
|