OCRotation - setEndDate(String endDate, Boolean inclusive)

Set the end date for the time period for which you want to retrieve on-call coverage. If the end date is not set, then the last day of the next month is applied by default. Use in conjunction with OCRotationV2 - getSpans.

Table 1. Parameters
Name Type Description
endDate String [Optional] End date of the on-call schedule.
inclusive Boolean [Optional] When true, the end date is included in the time span. If not specified, this value defaults to true.
Table 2. Returns
Type Description
Void