CalendarRule.add(date,interval)

Adds the given working time to the given date using the Organization / Organizational Unit calendar rule. The interval corresponds to working time. Therefore if you set the interval to 24 hours and the calendar rule states that a day is composed by 8 working hours, the interval will move the next working date to 3 days in the future.

Arguments:

Name Type Description Mode
date Time date from which the computation is done. in
interval Interval interval to add to the specified date. in