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 DurationDuration. INVALIDAn invalid duration object.static DurationDuration. UNINITIALIZED_DURATIONAn uninitialized duration object.Methods in ch.ivyteam.ivy.scripting.objects that return Duration Modifier and Type Method Description DurationDuration. add(Duration duration)Adds a duration to this date.DurationDuration. clone()Creates a clone of this object.DurationDuration. divide(Number divisor)Divides the Duration by a divisor.DurationDate. getDurationFromNow()Calculates the duration from the current date to actual date instance.DurationDateTime. getDurationFromNow()Calculates the duration from the current dateTime to actual dateTime instance.DurationDate. minus(Date date)Returns a normalized Duration representing the difference between this Date and the argument.DurationDateTime. minus(DateTime dateTime)Returns a normalized Duration representing the difference between this DateTime and the argument.DurationDuration. minus(Duration duration)Subtracts a duration to this date.DurationTime. minus(Time time)Returns a normalized Duration representing the difference between this Time and the argument.DurationDuration. multiply(Number factor)Multiplies the Duration with a factor.DurationDuration. normalize()Returns a normalized duration.Methods in ch.ivyteam.ivy.scripting.objects with parameters of type Duration Modifier and Type Method Description DateDate. add(Duration duration)Adds a duration to this date.DateTimeDateTime. add(Duration duration)Adds a duration to this date.DurationDuration. add(Duration duration)Adds a duration to this date.TimeTime. add(Duration duration)Adds some Duration to this Time object.intDuration. compareTo(Duration duration)Compares two durations lexicograohically.DateDate. minus(Duration duration)Subtracts a duration to this date.DateTimeDateTime. minus(Duration duration)Subtracts a duration to this date.DurationDuration. minus(Duration duration)Subtracts a duration to this date.TimeTime. 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 DurationICase. getWorkingTime()Gets theDurationduring 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.DurationITask. getWorkingTime()Gets theDurationduring 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.CREATEDorTaskState.RESUMEDtoTaskState.DONEorTaskState.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 DurationIBusinessCase. getWorkingTime()The working time of a business case is the sum of all working times of all tasks of all sub cases.
-