|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Time | |
---|---|
org.swiftgantt.common | |
org.swiftgantt.model | |
org.swiftgantt.ui.task | |
org.swiftgantt.ui.timeaxis |
Uses of Time in org.swiftgantt.common |
---|
Methods in org.swiftgantt.common that return Time | |
---|---|
Time |
Time.clone()
|
static Time |
CalendarUtils.cloneTimeByDateOffset(Time time,
int offset)
Deprecated. to Time |
static Time |
CalendarUtils.cloneTimeByHourOffset(Time time,
int offset)
Deprecated. to Time |
static Time |
CalendarUtils.cloneTimeByMonthOffset(Time time,
int offset)
Deprecated. to Time |
static Time |
CalendarUtils.cloneTimeByWeekOffset(Time time,
int offset)
Deprecated. to Time |
static Time |
CalendarUtils.cloneTimeByYearOffset(Time time,
int offset)
Deprecated. to Time |
Time |
Time.getFirstDayOfThisWeek()
Return the first day of the week that current time in. |
Time |
Time.getLastDayOfThisWeek()
Return the last day of the week that current time in. |
Time |
Time.increaseDate()
|
Time |
Time.increaseDates(int offset)
|
Time |
Time.increaseHour()
|
Time |
Time.increaseHours(int offset)
|
Time |
Time.increaseMinute()
|
Time |
Time.increaseMinutes(int offset)
|
Time |
Time.increaseMonth()
|
Time |
Time.increaseMonths(int offset)
|
Time |
Time.increaseSecond()
|
Time |
Time.increaseSeconds(int offset)
|
Time |
Time.increaseWeek()
|
Time |
Time.increaseWeeks(int offset)
|
Time |
Time.increaseYear()
|
Time |
Time.increaseYears(int offset)
|
Time |
Time.setToFirstDayOfThisWeek()
Set time to the first day of the week that current time in. |
Time |
Time.setToLastDayOfThisWeek()
Set time to the last day of the week that current time in. |
Time |
Time.truncateAtDate()
Truncate part of time at date |
Time |
Time.truncateAtHour()
Truncate part of time at hour |
Time |
Time.truncateAtMinute()
Truncate part of time at minute |
Time |
Time.truncateAtMonth()
Truncate part of time at month |
Time |
Time.truncateAtSecond()
Truncate part of time at second |
Time |
Time.truncateAtWeek()
Truncate part of time at week |
Time |
Time.truncateAtYear()
Truncate part of time at year |
Methods in org.swiftgantt.common with parameters of type Time | |
---|---|
static int |
CalendarUtils.calcWorkingDays(Time start,
int dates)
|
static int |
CalendarUtils.calcWorkingDays(Time start,
Time end,
int[] workingDurationInWeek)
Calculate working days from start day to end day(incluing end day). |
static int |
CalendarUtils.calcWorkingHourDurationLen(Time start,
Time end,
int workingHoursOfDay,
int startHour)
Calculate hours from start time to end time, with all rest-out hours as one hour. |
static int |
CalendarUtils.calcWorkingHours(Time start,
Time end,
int workingHoursOfDay,
int startHour)
Calculate actual working hours, by specifying working hours of day and working start hour, in time duration. |
static Time |
CalendarUtils.cloneTimeByDateOffset(Time time,
int offset)
Deprecated. to Time |
static Time |
CalendarUtils.cloneTimeByHourOffset(Time time,
int offset)
Deprecated. to Time |
static Time |
CalendarUtils.cloneTimeByMonthOffset(Time time,
int offset)
Deprecated. to Time |
static Time |
CalendarUtils.cloneTimeByWeekOffset(Time time,
int offset)
Deprecated. to Time |
static Time |
CalendarUtils.cloneTimeByYearOffset(Time time,
int offset)
Deprecated. to Time |
int |
Time.getDayIntervalFrom(Time time)
|
int |
Time.getDayIntervalTo(Time time)
|
static int |
CalendarUtils.getDaysOfMonth(Time Time)
Deprecated. to Time |
int |
Time.getHourIntervalFrom(Time time)
|
int |
Time.getHourIntervalTo(Time time)
|
int |
Time.getMinuteIntervalFrom(Time time)
|
int |
Time.getMinuteIntervalTo(Time time)
|
int |
Time.getMonthIntervalFrom(Time time)
|
int |
Time.getMonthIntervalTo(Time time)
|
int |
Time.getSecondIntervalFrom(Time time)
|
int |
Time.getSecondIntervalTo(Time time)
|
int |
Time.getWeekIntervalFrom(Time time)
|
int |
Time.getWeekIntervalTo(Time time)
|
int |
Time.getYearIntervalFrom(Time time)
|
int |
Time.getYearIntervalTo(Time time)
|
static void |
CalendarUtils.truncateTime(Time time,
int field)
Deprecated. to Time |
Uses of Time in org.swiftgantt.model |
---|
Methods in org.swiftgantt.model that return Time | |
---|---|
Time |
Task.getActualEnd()
Get actual end time of this task. |
Time |
Task.getActualStart()
Get actual start time of this task. |
Time |
GanttModel.getDeadline()
Get deadline of Gantt chart. |
Time |
Task.getEnd()
Get end time of this Task . |
Time |
TaskTreeModel.getEndTimeOfLatestTask()
Get the end time of latest task in this TaskTreeModel, |
Time |
GanttModel.getKickoffTime()
Get kickoff time of Gantt chart. |
Time |
Task.getStart()
Get start time of this Task . |
static Time |
TaskHelper.increaseCloneTimeByTimeUnit(TimeUnit timeUnit,
Time time,
int offset)
Increase corresponding field of time by TimeUnit. |
Methods in org.swiftgantt.model with parameters of type Time | |
---|---|
static int |
TaskHelper.calcOffsetByTimeUnit(TimeUnit timeUnit,
Time start,
Time end)
Time offset from start time to end time. |
static java.lang.String |
TaskHelper.formatTimeByTimeUnit(TimeUnit timeUnit,
Time time)
Format time to display. |
static Time |
TaskHelper.increaseCloneTimeByTimeUnit(TimeUnit timeUnit,
Time time,
int offset)
Increase corresponding field of time by TimeUnit. |
static void |
TaskHelper.increaseTimeByTimeUnit(TimeUnit timeUnit,
Time time,
int offset)
Increase corresponding field of time by TimeUnit. |
void |
GanttModel.setDeadline(Time deadline)
Set deadline of Gantt chart. |
void |
Task.setEnd(Time end)
Set end time of this Task . |
void |
GanttModel.setKickoffTime(Time kickoffTime)
Set kickoff time of Gantt chart. |
void |
Task.setStart(Time start)
Set start time of this Task . |
Constructors in org.swiftgantt.model with parameters of type Time | |
---|---|
Task(java.lang.String name,
java.lang.String description,
Time startTime,
Time endTime,
int progress,
java.util.List<Task> predecessors)
|
|
Task(java.lang.String name,
Time startTime,
Time endTime)
|
|
Task(java.lang.String name,
Time startTime,
Time endTime,
int progress)
|
|
Task(java.lang.String name,
Time startTime,
Time endTime,
java.util.List<Task> predecessors)
|
Uses of Time in org.swiftgantt.ui.task |
---|
Methods in org.swiftgantt.ui.task with parameters of type Time | |
---|---|
int |
TaskWrapper.calcTaskStartPointX(java.awt.Rectangle rect,
TimeUnit tu,
Time kickoffTime)
Calculate X of the start point of task. |
Uses of Time in org.swiftgantt.ui.timeaxis |
---|
Methods in org.swiftgantt.ui.timeaxis with parameters of type Time | |
---|---|
static float |
TimeAxisUtils.calcAccurateTimePortionByTimeUnit(TimeUnit timeUnit,
Time time)
Calculate accurate time portion by time unit for accurate task bar rendering. |
static int |
TimeAxisUtils.getTimeIntervalByTimeUnit(TimeUnit timeUnit,
Time start,
Time end)
Including rest-out time. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |