Managing Task Durations
Tasks take time, they have a duration. Realistic task durations help give a realistic project end date. Aspose.Tasks allows developers to set task durations in projects.
Working with Durations
- Duration sets and gets a task’s planned duration (TimeSpan).
- DurationFormat sets and gets formats defined by the TimeUnitType enumeration.
Duration in Microsoft Project
To see a task’s duration in Microsoft Project one can select More Views and then Task Entry From the View menu.
Setting task duration using Aspose.Tasks
The following examples increases and decreases the task duration to 1 week and half week respectively.