DurationCalculator - setSchedule(String schedId, String timezone)

Sets the schedule and time zone to use for calculating the due date.

Table 1. Parameters
Name Type Description
schedId String The schedule sys_id (table cmn_schedule).
timezone String (Optional) Time zone string value.
Table 2. Returns
TypeDescription
void
var dc = new DurationCalculator(); 
dc.setSchedule('08fcd0830a0a0b2600079f56b1adb9ae', 'Los Angeles');