Uses of Class
com.aspose.tasks.TimeDelta
-
-
Uses of TimeDelta in com.aspose.tasks
Fields in com.aspose.tasks with type parameters of type TimeDelta Modifier and Type Field Description static Key<TimeDelta,Integer>
Tsk. FINISH_SLACK_TIME_SPAN
The duration (in seconds) between the Early Finish and Late Finish dates.static Key<TimeDelta,Integer>
Tsk. FREE_SLACK_TIME_SPAN
The time (in seconds) that a task can be delayed without delaying any successor tasks.static Key<TimeDelta,Integer>
Tsk. START_SLACK_TIME_SPAN
The duration (in seconds) between the Early Start and Late Start dates.static Key<TimeDelta,Integer>
Tsk. TOTAL_SLACK_TIME_SPAN
The time a task's finish date can be delayed without delaying the project's finish date.Methods in com.aspose.tasks that return TimeDelta Modifier and Type Method Description TimeDelta
TimeDelta. add(TimeDelta other)
Returns a new TimeDelta object whose value is a sum of this and other instance.static TimeDelta
TimeDelta. fromDays(double value)
Returns a TimeDelta that represents a specified number of days (rounded to the nearest millisecond).static TimeDelta
TimeDelta. fromHours(double value)
Returns a TimeDelta that represents a specified number of hours (rounded to the nearest millisecond).static TimeDelta
TimeDelta. fromMilliseconds(double value)
Returns a TimeDelta that represents a specified number of milliseconds (rounded to the nearest millisecond).static TimeDelta
TimeDelta. fromMinutes(double value)
Returns a TimeDelta that represents a specified number of minutes (rounded to the nearest millisecond).static TimeDelta
TimeDelta. fromSeconds(double value)
Returns a TimeDelta that represents a specified number of seconds (rounded to the nearest millisecond).TimeDelta
TimeDelta. negate()
Returns a new `TimeDelta` whose value is the negated value of this instance.static TimeDelta
TimeDelta. parse(String s)
Converts the string representation of a time interval to its `TimeDelta` equivalent.TimeDelta
TimeDelta. subtract(TimeDelta other)
Returns a new TimeDelta object whose value is a difference between this and `other` instances.Methods in com.aspose.tasks with parameters of type TimeDelta Modifier and Type Method Description TimeDelta
TimeDelta. add(TimeDelta other)
Returns a new TimeDelta object whose value is a sum of this and other instance.static int
TimeDelta. compare(TimeDelta t1, TimeDelta t2)
Compares two TimeDelta values and returns an integer that indicates whether the first value is shorter than, equal to, or longer than the second value.int
TimeDelta. compareTo(TimeDelta other)
Compares this instance to a specified TimeDelta object and returns an integer that indicates whether this instance is shorter than, equal to, or longer than the TimeSpan object.boolean
TimeDelta. equals(TimeDelta other)
Indicates whether some `other` time span is equal to this one.static boolean
TimeDelta. equals(TimeDelta t1, TimeDelta t2)
Checks two instances for equality.TimeDelta
TimeDelta. subtract(TimeDelta other)
Returns a new TimeDelta object whose value is a difference between this and `other` instances.static boolean
TimeDelta. tryParse(String s, TimeDelta[] result)
Converts the string representation of a time interval to its TimeDelta equivalent and returns a value that indicates whether the conversion succeeded.
-