Uses of Class
ch.ivyteam.ivy.scripting.objects.Duration
Package
Description
-
Uses of Duration in ch.ivyteam.ivy.scripting.objects
Modifier and TypeFieldDescriptionstatic final Duration
Duration.INVALID
An invalid duration object.static final Duration
Duration.UNINITIALIZED_DURATION
An uninitialized duration object.Modifier and TypeMethodDescriptionAdds a duration to this date.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 date.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.Modifier and TypeMethodDescriptionAdds a duration to this date.Adds a duration to this date.Adds a duration to this date.Adds some Duration to this Time object.int
Compares two durations lexicograohically.Subtracts a duration to this date.Subtracts a duration to this date.Subtracts a duration to this date.Subtracts some Duration from this Time object. -
Uses of Duration in ch.ivyteam.ivy.workflow
Modifier and TypeMethodDescriptionICase.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.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
Modifier and TypeMethodDescriptionIBusinessCase.getWorkingTime()
The working time of a business case is the sum of all working times of all tasks of all sub cases.