invertZones

inverts the specified time zones

void invertZones(array zones);

Parameters

zonesarrayan array **[start_minute,end_minute,..,start_minute_N,end_minute_N]**
where each pair sets a certain limit range (in minutes). The array can have any
number of such pairs

Example

var zones = scheduler.invertZones([500, 1000]); // => [0, 500, 1000, 1440]

Required extension: ext/dhtmlxscheduler_limit.js
Details

Available from version 3.5

Back to top