getWorkHours

提供指定日期的工作时间

array getWorkHours(Date date);
dateDate要检查的日期
array该日期的工作时间段

Example

gantt.config.work_time = true;
gantt.init("gantt_here");
 
gantt.getWorkHours(new Date(2013,03,30))// -> [8, 17]

See also
Back to top