|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.swiftgantt.ui.timeaxis.TimeAxisUtils
public class TimeAxisUtils
Utils for time axis.
Constructor Summary | |
---|---|
TimeAxisUtils()
|
Method Summary | |
---|---|
static float |
calcAccurateTimePortionByTimeUnit(TimeUnit timeUnit,
Time time)
Calculate accurate time portion by time unit for accurate task bar rendering. |
static int |
getActualTimeIntervalByTimeUnit(TimeUnit tu,
Task task)
Calculate interval between actual start time and actual end time of a task. |
static int |
getTimeIntervalByTimeUnit(TimeUnit timeUnit,
Time start,
Time end)
Including rest-out time. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeAxisUtils()
Method Detail |
---|
public static int getActualTimeIntervalByTimeUnit(TimeUnit tu, Task task)
tu
- task
-
public static int getTimeIntervalByTimeUnit(TimeUnit timeUnit, Time start, Time end)
timeUnit
- start
- end
-
public static float calcAccurateTimePortionByTimeUnit(TimeUnit timeUnit, Time time)
timeUnit
- time
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |