Show TOC
Calculating the
finish date of a time interval
Functionality
You use this function module to calculate the
end date and time of time intervals.
In the function call, you must transfer the
following information to the function module:
- The start date of the time interval (parameter
I_START_DATE)
- The start time of the time interval (parameter
I_START_TIME)
- The duration of the time interval, weekends
and public holidays not included (parameter I_DURATION)
- The time unit of the duration if it has not
been specified in days (parameter I_UNIT_OF_DURATION)
- A factory calendar if you do not want to use
the Gregorian calendar (parameter I_FACTORY_CALENDAR)
The function module calculates the end date
(parameter E_END_DATE) and end time (parameter E_END_TIME) of the time
interval and transfers them to the PI sheet.