Uses of Class
ch.ivyteam.ivy.scripting.objects.Duration
Packages that use Duration
Package
Description
-
Uses of Duration in ch.ivyteam.ivy.scripting.objects
Fields in ch.ivyteam.ivy.scripting.objects declared as DurationModifier and TypeFieldDescriptionstatic final DurationDuration.INVALIDAn invalid duration object.static final DurationDuration.UNINITIALIZED_DURATIONAn uninitialized duration object.Methods in ch.ivyteam.ivy.scripting.objects that return DurationModifier and TypeMethodDescriptionAdds a duration to this duration.Duration.clone()Creates a clone of this object.Divides the Duration by a divisor.Date.getDurationFromNow()Calculates the duration from the current date to actual date instance.DateTime.getDurationFromNow()Calculates the duration from the current dateTime to actual dateTime instance.Returns a normalized Duration representing the difference between this Date and the argument.Returns a normalized Duration representing the difference between this DateTime and the argument.Subtracts a duration to this duration.Returns a normalized Duration representing the difference between this Time and the argument.Multiplies the Duration with a factor.Duration.normalize()Returns a normalized duration.Methods in ch.ivyteam.ivy.scripting.objects with parameters of type DurationModifier and TypeMethodDescriptionAdds a duration to this date.Adds a duration to this date.Adds a duration to this duration.Adds some Duration to this Time object.intCompares two durations lexicograohically.Subtracts a duration to this date.Subtracts a duration to this date.Subtracts a duration to this duration.Subtracts some Duration from this Time object. -
Uses of Duration in ch.ivyteam.ivy.workflow
Methods in ch.ivyteam.ivy.workflow that return DurationModifier and TypeMethodDescriptionICase.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.ITask.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 DurationModifier and TypeMethodDescriptionIBusinessCase.getWorkingTime()The working time of a business case is the sum of all working times of all tasks of all sub cases.