Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGanttControlRecurrencePattern.Duration Property

Specifies a task occurrence duration in ISO 8601 format.

#Declaration

Delphi
property Duration: TDuration read; write;

#Property Value

Type
TDuration

#Remarks

Duration is the total work time required for the task. According to the ISO 8601 standard, 1 day corresponds to 24 hours. In project management, 1 day corresponds to a work day that lasts 8 hours, so task duration is measured in hours, minutes, and seconds.

Use this property to express a task occurrence duration as follows: PT(N)H(N)M(N)S.

Options include:

Value

Description

Example

P

Period and time designation. You should use this pattern to denote occurrence duration; otherwise, the control throws an exception.

‘PT8H22M6S’ – 8 hours, 22 minutes, and 6 seconds.

T

N

An integer value.

H

Hours, minutes, and seconds.

Note

To omit a time unit, specify 0 before it.

M

S

See Also