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,Byte>Tsk. FINISH_SLACK_TIME_SPANThe duration (in seconds) between the Early Finish and Late Finish dates.static Key<TimeDelta,Byte>Tsk. FREE_SLACK_TIME_SPANThe time (in seconds) that a task can be delayed without delaying any successor tasks.static Key<TimeDelta,Byte>Tsk. START_SLACK_TIME_SPANThe duration (in seconds) between the Early Start and Late Start dates.static Key<TimeDelta,Byte>Tsk. TOTAL_SLACK_TIME_SPANThe 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 TimeDeltaTimeDelta. add(TimeDelta other)Returns a new TimeDelta object whose value is a sum of this and other instance.static TimeDeltaTimeDelta. fromDays(double value)Returns a TimeDelta that represents a specified number of days (rounded to the nearest millisecond).static TimeDeltaTimeDelta. fromHours(double value)Returns a TimeDelta that represents a specified number of hours (rounded to the nearest millisecond).static TimeDeltaTimeDelta. fromMilliseconds(double value)Returns a TimeDelta that represents a specified number of milliseconds (rounded to the nearest millisecond).static TimeDeltaTimeDelta. fromMinutes(double value)Returns a TimeDelta that represents a specified number of minutes (rounded to the nearest millisecond).static TimeDeltaTimeDelta. fromSeconds(double value)Returns a TimeDelta that represents a specified number of seconds (rounded to the nearest millisecond).TimeDeltaTimeDelta. negate()Returns a new `TimeDelta` whose value is the negated value of this instance.static TimeDeltaTimeDelta. parse(String s)Converts the string representation of a time interval to its `TimeDelta` equivalent.TimeDeltaTimeDelta. 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 TimeDeltaTimeDelta. add(TimeDelta other)Returns a new TimeDelta object whose value is a sum of this and other instance.static intTimeDelta. 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.intTimeDelta. 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.booleanTimeDelta. equals(TimeDelta other)Indicates whether some `other` time span is equal to this one.static booleanTimeDelta. equals(TimeDelta t1, TimeDelta t2)Checks two instances for equality.TimeDeltaTimeDelta. subtract(TimeDelta other)Returns a new TimeDelta object whose value is a difference between this and `other` instances.static booleanTimeDelta. 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.
-