DateProcessor

12 Sep 20251 minute to read

Date processor is used to handle date of task data.

Methods

calculateDuration

To calculate duration from start date and end date

Parameter Type Description
ganttData IGanttData Defines the gantt data.
isBaseline (optional) boolean Indicates whether the calculation is specific to baseline dates.

Returns void

getFieldMappings

Gets task field mappings based on baseline context.

Parameter Type Description
isBaseline boolean Flag indicating if baseline fields should be used.

Returns Object