Uses of Class
ch.ivyteam.ivy.scripting.objects.Duration
-
Packages that use Duration Package Description ch.ivyteam.ivy.scripting.objects ch.ivyteam.ivy.workflow ch.ivyteam.ivy.workflow.businesscase -
-
Uses of Duration in ch.ivyteam.ivy.scripting.objects
Fields in ch.ivyteam.ivy.scripting.objects declared as Duration Modifier and Type Field Description static Duration
Duration. INVALID
An invalid duration object.static Duration
Duration. UNINITIALIZED_DURATION
An uninitialized duration object.Methods in ch.ivyteam.ivy.scripting.objects that return Duration Modifier and Type Method Description Duration
Duration. add(Duration duration)
Adds a duration to this date.Duration
Duration. clone()
Creates a clone of this object.Duration
Duration. divide(Number divisor)
Divides the Duration by a divisor.Duration
Date. getDurationFromNow()
Calculates the duration from the current date to actual date instance.Duration
DateTime. getDurationFromNow()
Calculates the duration from the current dateTime to actual dateTime instance.Duration
Date. minus(Date date)
Returns a normalized Duration representing the difference between this Date and the argument.Duration
DateTime. minus(DateTime dateTime)
Returns a normalized Duration representing the difference between this DateTime and the argument.Duration
Duration. minus(Duration duration)
Subtracts a duration to this date.Duration
Time. minus(Time time)
Returns a normalized Duration representing the difference between this Time and the argument.Duration
Duration. multiply(Number factor)
Multiplies the Duration with a factor.Duration
Duration. normalize()
Returns a normalized duration.Methods in ch.ivyteam.ivy.scripting.objects with parameters of type Duration Modifier and Type Method Description Date
Date. add(Duration duration)
Adds a duration to this date.DateTime
DateTime. add(Duration duration)
Adds a duration to this date.Duration
Duration. add(Duration duration)
Adds a duration to this date.Time
Time. add(Duration duration)
Adds some Duration to this Time object.int
Duration. compareTo(Duration duration)
Compares two durations lexicograohically.Date
Date. minus(Duration duration)
Subtracts a duration to this date.DateTime
DateTime. minus(Duration duration)
Subtracts a duration to this date.Duration
Duration. minus(Duration duration)
Subtracts a duration to this date.Time
Time. minus(Duration duration)
Subtracts some Duration from this Time object. -
Uses of Duration in ch.ivyteam.ivy.workflow
Methods in ch.ivyteam.ivy.workflow that return Duration Modifier and Type Method Description Duration
ICase. getWorkingTime()
Gets theDuration
during that any user has been working on this case.
The working time is the sum of the working times from all tasks of this case.Duration
ITask. getWorkingTime()
Gets theDuration
during that any user has been working on this task.
The working time is calculated from the time where the user starts working on this task till the task is completed (state changes fromTaskState.CREATED
orTaskState.RESUMED
toTaskState.DONE
orTaskState.JOINING
).
When task gets parked or completed the elapsed time is saved. -
Uses of Duration in ch.ivyteam.ivy.workflow.businesscase
Methods in ch.ivyteam.ivy.workflow.businesscase that return Duration Modifier and Type Method Description Duration
IBusinessCase. getWorkingTime()
The working time of a business case is the sum of all working times of all tasks of all sub cases.
-