invertZones

inverts the specified time zones

void invertZones(array zones);
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]

Details

Available from version 3.5

The method requires the limit plugin to be activated.

Back to top