Uses of Class
com.aspose.tasks.Duration
-
-
Uses of Duration in com.aspose.tasks
Fields in com.aspose.tasks with type parameters of type Duration Modifier and Type Field Description static Key<Duration,Integer>
Tsk. ACTUAL_DURATION
The span of actual working time for a task, based on the scheduled duration and current remaining work or percent complete.static Key<Duration,Integer>
Asn. ACTUAL_OVERTIME_WORK
The actual amount of an overtime work incurred on an assignment.static Key<Duration,Integer>
Rsc. ACTUAL_OVERTIME_WORK
The actual amount of overtime work already performed by resource assigned to tasks.static Key<Duration,Integer>
Tsk. ACTUAL_OVERTIME_WORK
The actual amount of overtime work already performed by resources assigned to tasks.static Key<Duration,Integer>
Asn. ACTUAL_OVERTIME_WORK_PROTECTED
The duration through which actual work is protected.static Key<Duration,Integer>
Rsc. ACTUAL_OVERTIME_WORK_PROTECTED
The amount of work through which actual overtime work is protected.static Key<Duration,Integer>
Tsk. ACTUAL_OVERTIME_WORK_PROTECTED
The duration through which actual overtime work is protected.static Key<Duration,Integer>
Asn. ACTUAL_WORK
The actual amount of a work incurred on an assignment.static Key<Duration,Integer>
Rsc. ACTUAL_WORK
The amount of work that has already been done by resource assigned to tasks.static Key<Duration,Integer>
Tsk. ACTUAL_WORK
The amount of work that has already been done by resources assigned to tasks.static Key<Duration,Integer>
Asn. ACTUAL_WORK_PROTECTED
The duration through which actual overtime work is protected.static Key<Duration,Integer>
Rsc. ACTUAL_WORK_PROTECTED
The amount of work through which actual work is protected.static Key<Duration,Integer>
Tsk. ACTUAL_WORK_PROTECTED
The duration through which actual work is protected.static Key<Duration,Integer>
Asn. BUDGET_WORK
The budgeted work amount for a work or material resources on an assignment.static Key<Duration,Integer>
Rsc. BUDGET_WORK
budget work for budget work and material resources.static Key<Duration,Integer>
Tsk. BUDGET_WORK
Budget work for budget work and material resources.static Key<Duration,Integer>
Asn. DELAY
The delay of an assignment.static Key<Duration,Integer>
Tsk. DURATION
The total span of active working time for a task as entered or as calculated by Microsoft Project based on start date, finish date, calendars, and other scheduling factors.static Key<Duration,Integer>
Tsk. DURATION_VARIANCE
The difference between the baseline duration of a task and the total duration (current estimate) of a task.static Key<Duration,Integer>
Asn. FINISH_VARIANCE
The variance of an assignment finish date from a baseline finish date.static Key<Duration,Integer>
Tsk. FINISH_VARIANCE
The time that represents the difference between the baseline finish date of a task or assignment and its current finish date.static Key<Duration,Integer>
Asn. LEVELING_DELAY
The delay caused by leveling.static Key<Duration,Integer>
Tsk. LEVELING_DELAY
The time that a task is to be delayed from its early start date because of resource leveling.static Key<Duration,Integer>
Tsk. MANUAL_DURATION
Defines manually scheduled duration of a task.static Key<Duration,Integer>
Asn. OVERTIME_WORK
The scheduled overtime work of an assignment.static Key<Duration,Integer>
Rsc. OVERTIME_WORK
The amount of overtime scheduled to be performed by a resource on a task and charged at the overtime rates of the resources involved.static Key<Duration,Integer>
Tsk. OVERTIME_WORK
The amount of overtime scheduled to be performed by all resources assigned to a task.static Key<Duration,Integer>
Asn. REGULAR_WORK
The amount of a non-overtime work scheduled for an assignment.static Key<Duration,Integer>
Rsc. REGULAR_WORK
The total amount of non overtime work scheduled to be performed by resource.static Key<Duration,Integer>
Tsk. REGULAR_WORK
The total amount of non overtime work scheduled to be performed by resources.static Key<Duration,Integer>
Tsk. REMAINING_DURATION
The time that is required to complete the unfinished part of a task.static Key<Duration,Integer>
Asn. REMAINING_OVERTIME_WORK
The remaining overtime work scheduled to complete an assignment.static Key<Duration,Integer>
Rsc. REMAINING_OVERTIME_WORK
The amount of remaining scheduled overtime.static Key<Duration,Integer>
Tsk. REMAINING_OVERTIME_WORK
The amount of remaining scheduled overtime time.static Key<Duration,Integer>
Asn. REMAINING_WORK
The remaining work scheduled to complete an assignment.static Key<Duration,Integer>
Rsc. REMAINING_WORK
The time still required to complete a task or set of tasks.static Key<Duration,Integer>
Tsk. REMAINING_WORK
The time still required to complete a task or set of tasks.static Key<Duration,Integer>
Asn. START_VARIANCE
The variance of an assignment start date from a baseline start date.static Key<Duration,Integer>
Tsk. START_VARIANCE
The time that represents the difference between a baseline start date of a task or assignment and its currently scheduled start date.static Key<Duration,Integer>
Asn. WORK
The amount of scheduled work for an assignment.static Key<Duration,Integer>
Rsc. WORK
The total amount of time scheduled for a resource on a task.static Key<Duration,Integer>
Tsk. WORK
The total time scheduled on a task for all assigned resources.static Key<Duration,Integer>
Asn. WORK_VARIANCE
The difference between baseline work of a task and the currently scheduled work.static Key<Duration,Integer>
Tsk. WORK_VARIANCE
The difference between baseline work of a task and the currently scheduled work.Methods in com.aspose.tasks that return Duration Modifier and Type Method Description Duration
Duration. add(double val)
Adds specified double value to this duration.Duration
Duration. add(Duration d)
Adds specified duration to this duration.Duration
Duration. Clone()
Creates and returns a deep copy of this instance.Duration
Duration. convert(int timeUnitType)
Converts Duration object to another duration with specified time units.Duration
Task. getActualDuration()
Gets a value of ActualDuration.Duration
Resource. getActualOvertimeWork()
Gets a value of ActualOvertimeWork.Duration
ResourceAssignment. getActualOvertimeWork()
Gets a value of ActualOvertimeWork.Duration
Task. getActualOvertimeWork()
Gets a value of ActualOvertimeWork.Duration
Resource. getActualOvertimeWorkProtected()
Gets a value of ActualOvertimeWorkProtected.Duration
ResourceAssignment. getActualOvertimeWorkProtected()
Gets a value of ActualOvertimeWorkProtected.Duration
Task. getActualOvertimeWorkProtected()
Gets a value of ActualOvertimeWorkProtected.Duration
Resource. getActualWork()
Gets a value of ActualWork.Duration
ResourceAssignment. getActualWork()
Gets a value of ActualWork.Duration
Task. getActualWork()
Gets a value of ActualWork.Duration
Resource. getActualWorkProtected()
Gets a value of ActualWorkProtected.Duration
ResourceAssignment. getActualWorkProtected()
Gets a value of ActualWorkProtected.Duration
Task. getActualWorkProtected()
Gets a value of ActualWorkProtected.Duration
Resource. getBudgetWork()
Gets a value of BudgetWork.Duration
ResourceAssignment. getBudgetWork()
Gets a value of BudgetWork.Duration
Task. getBudgetWork()
Gets a value of BudgetWork.Duration
ResourceAssignment. getDelay()
Gets a value of Delay.Duration
Project. getDuration(double val)
GetsDuration
object with the specified number of units and default duration format which is defined in project's settingsPrj.DURATION_FORMAT
.Duration
Project. getDuration(double val, int timeUnit)
GetsDuration
object with the specified number ofTimeUnitType
units.Duration
RecurringTaskInfo. getDuration()
Gets the duration for one occurrence of the recurring task.Duration
RecurringTaskParameters. getDuration()
Gets the duration for one occurrence of the recurring task.Duration
Task. getDuration()
Gets a value of Duration.Duration
TaskBaseline. getDuration()
Gets the scheduled duration of the task when the baseline was saved.Duration
Value. getDuration()
Gets the actual value which is used to represent Duration.Duration
ExtendedAttribute. getDurationValue()
Gets value for attributes with 'Duration' type.Duration
OutlineValue. getDurationValue()
Gets the duration if Type is Duration.Duration
Task. getDurationVariance()
Gets a value of DurationVariance.Duration
ResourceAssignment. getFinishVariance()
Gets a value of FinishVariance.Duration
Task. getFinishVariance()
Gets a value of FinishVariance.Duration
ResourceAssignment. getLevelingDelay()
Gets a value of LevelingDelay.Duration
Task. getLevelingDelay()
Gets a value of LevelingDelay.Duration
Task. getManualDuration()
Gets a value of ManualDuration.Duration
Resource. getOvertimeWork()
Gets a value of OvertimeWork.Duration
ResourceAssignment. getOvertimeWork()
Gets a value of OvertimeWork.Duration
Task. getOvertimeWork()
Gets a value of OvertimeWork.Duration
Resource. getRegularWork()
Gets a value of RegularWork.Duration
ResourceAssignment. getRegularWork()
Gets a value of RegularWork.Duration
Task. getRegularWork()
Gets a value of RegularWork.Duration
Task. getRemainingDuration()
Gets a value of RemainingDuration.Duration
Resource. getRemainingOvertimeWork()
Gets a value of RemainingOvertimeWork.Duration
ResourceAssignment. getRemainingOvertimeWork()
Gets a value of RemainingOvertimeWork.Duration
Task. getRemainingOvertimeWork()
Gets a value of RemainingOvertimeWork.Duration
Resource. getRemainingWork()
Gets a value of RemainingWork.Duration
ResourceAssignment. getRemainingWork()
Gets a value of RemainingWork.Duration
Task. getRemainingWork()
Gets a value of RemainingWork.Duration
RiskItemStatistics. getStandardDeviation()
Gets the standard deviation of the risk item.Duration
ResourceAssignment. getStartVariance()
Gets a value of StartVariance.Duration
Task. getStartVariance()
Gets a value of StartVariance.Duration
Baseline. getWork()
Gets the work assigned to a resource when the baseline is saved.Duration
Project. getWork(double val)
GetsDuration
object with the specifieddouble
value and default work format.Duration
Resource. getWork()
Gets a value of Work.Duration
ResourceAssignment. getWork()
Gets a value of Work.Duration
Task. getWork()
Gets a value of Work.Duration
ResourceAssignment. getWorkVariance()
Gets a value of WorkVariance.Duration
Task. getWorkVariance()
Gets a value of WorkVariance.static Duration
Duration. parse(Project p, String value)
Converts the specified string to the instance ofDuration
struct.Duration
Duration. subtract(double val)
Subtracts specified double value from this duration instance.Duration
Duration. subtract(Duration d)
Subtracts specified duration from this duration instance.Methods in com.aspose.tasks with parameters of type Duration Modifier and Type Method Description Duration
Duration. add(Duration d)
Adds specified duration to this duration.TaskLink
TaskLinkCollection. add(Task pred, Task succ, int linkType, Duration lag)
Returns an instance ofTaskLink
which has been added to the TaskLinkCollection object.void
Duration. CloneTo(Duration that)
Makes a deep copy of the instance into another instance.ExtendedAttribute
ExtendedAttributeDefinition. createExtendedAttribute(Duration durationValue)
Creates a new extended attribute with the field ID which equals to this object's field ID value and the specified duration value.boolean
Duration. equals(Duration other)
Returns a value indicating whether this instance is equal to a specified object.static boolean
Duration. equals(Duration obj1, Duration obj2)
Returns a value indicating whether specifiedobj1
instance is equal to the specifiedobj2
instance.com.aspose.tasks.RecurrenceDateCalculatorBase
DailyRepetitionBase. getCalculator(Calendar calendar, Duration duration)
com.aspose.tasks.RecurrenceDateCalculatorBase
MonthlyRepetitionBase. getCalculator(Calendar calendar, Duration duration)
com.aspose.tasks.RecurrenceDateCalculatorBase
WeeklyRepetitionBase. getCalculator(Calendar calendar, Duration duration)
com.aspose.tasks.RecurrenceDateCalculatorBase
YearlyRepetitionBase. getCalculator(Calendar calendar, Duration duration)
Date
Calendar. getFinishDateByStartAndWork(Date start, Duration work)
Calculates the date when the specified amount of work time will pass according to the calendar.Date
Calendar. getStartDateFromFinishAndDuration(Date finish, Duration duration)
Returns StartDate based on specified FinishDate and Duration.static boolean
Duration. op_Equality(Duration a, Duration b)
Returns a value indicating whether this instance is equal to a specified object.static boolean
Duration. op_Inequality(Duration a, Duration b)
Returns a value indicating whether this instance is not equal to a specified object.void
Task. setActualDuration(Duration value)
Sets a value of ActualDuration.void
Resource. setActualOvertimeWork(Duration value)
Sets a value of ActualOvertimeWork.void
ResourceAssignment. setActualOvertimeWork(Duration value)
Sets a value of ActualOvertimeWork.void
Task. setActualOvertimeWork(Duration value)
Sets a value of ActualOvertimeWork.void
Resource. setActualOvertimeWorkProtected(Duration value)
Sets a value of ActualOvertimeWorkProtected.void
ResourceAssignment. setActualOvertimeWorkProtected(Duration value)
Sets a value of ActualOvertimeWorkProtected.void
Task. setActualOvertimeWorkProtected(Duration value)
Sets a value of ActualOvertimeWorkProtected.void
Resource. setActualWork(Duration value)
Sets a value of ActualWork.void
ResourceAssignment. setActualWork(Duration value)
Sets a value of ActualWork.void
Task. setActualWork(Duration value)
Sets a value of ActualWork.void
Resource. setActualWorkProtected(Duration value)
Sets a value of ActualWorkProtected.void
ResourceAssignment. setActualWorkProtected(Duration value)
Sets a value of ActualWorkProtected.void
Task. setActualWorkProtected(Duration value)
Sets a value of ActualWorkProtected.void
Resource. setBudgetWork(Duration value)
Sets a value of BudgetWork.void
ResourceAssignment. setBudgetWork(Duration value)
Sets a value of BudgetWork.void
Task. setBudgetWork(Duration value)
Sets a value of BudgetWork.void
ResourceAssignment. setDelay(Duration value)
Sets a value of Delay.void
RecurringTaskInfo. setDuration(Duration value)
Sets the duration for one occurrence of the recurring task.void
RecurringTaskParameters. setDuration(Duration value)
Sets the duration for one occurrence of the recurring task.void
Task. setDuration(Duration value)
Sets a value of Duration.void
TaskBaseline. setDuration(Duration value)
Sets the scheduled duration of the task when the baseline was saved.void
Value. setDuration(Duration value)
Sets the actual value which is used to represent Duration.void
ExtendedAttribute. setDurationValue(Duration value)
Sets value for attributes with 'Duration' type.void
OutlineValue. setDurationValue(Duration value)
Sets the duration if Type is Duration.void
Task. setDurationVariance(Duration value)
Sets a value of DurationVariance.void
ResourceAssignment. setFinishVariance(Duration value)
Sets a value of FinishVariance.void
Task. setFinishVariance(Duration value)
Sets a value of FinishVariance.void
ResourceAssignment. setLevelingDelay(Duration value)
Sets a value of LevelingDelay.void
Task. setLevelingDelay(Duration value)
Sets a value of LevelingDelay.void
Task. setManualDuration(Duration value)
Sets a value of ManualDuration.void
Resource. setOvertimeWork(Duration value)
Sets a value of OvertimeWork.void
ResourceAssignment. setOvertimeWork(Duration value)
Sets a value of OvertimeWork.void
Task. setOvertimeWork(Duration value)
Sets a value of OvertimeWork.void
Resource. setRegularWork(Duration value)
Sets a value of RegularWork.void
ResourceAssignment. setRegularWork(Duration value)
Sets a value of RegularWork.void
Task. setRegularWork(Duration value)
Sets a value of RegularWork.void
Task. setRemainingDuration(Duration value)
Sets a value of RemainingDuration.void
Resource. setRemainingOvertimeWork(Duration value)
Sets a value of RemainingOvertimeWork.void
ResourceAssignment. setRemainingOvertimeWork(Duration value)
Sets a value of RemainingOvertimeWork.void
Task. setRemainingOvertimeWork(Duration value)
Sets a value of RemainingOvertimeWork.void
Resource. setRemainingWork(Duration value)
Sets a value of RemainingWork.void
ResourceAssignment. setRemainingWork(Duration value)
Sets a value of RemainingWork.void
Task. setRemainingWork(Duration value)
Sets a value of RemainingWork.void
ResourceAssignment. setStartVariance(Duration value)
Sets a value of StartVariance.void
Task. setStartVariance(Duration value)
Sets a value of StartVariance.void
Baseline. setWork(Duration value)
Sets the work assigned to a resource when the baseline is saved.void
Resource. setWork(Duration value)
Sets a value of Work.void
ResourceAssignment. setWork(Duration value)
Sets a value of Work.void
Task. setWork(Duration value)
Sets a value of Work.void
ResourceAssignment. setWorkVariance(Duration value)
Sets a value of WorkVariance.void
Task. setWorkVariance(Duration value)
Sets a value of WorkVariance.Duration
Duration. subtract(Duration d)
Subtracts specified duration from this duration instance.
-