跳转到主要内容

invertZones

Description

翻转给定的时区范围

invertZones: (zones: any[]) => void

Parameters

  • zones - (required) array - 一个数组 [start_minute,end_minute,..,start_minute_N,end_minute_N]
    每对数字定义一个具体的时间范围(以分钟为单位)。该数组可以包含任意数量的
    这些时间范围对

Example

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

Details

注释

从版本 3.5 开始支持

注释

此方法需要启用 limit 插件。

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.