Zum Hauptinhalt springen

getWorkHours

Description

Bietet die Arbeitszeiten für das angegebene Datum

getWorkHours: (date: Date) => any[]

Parameters

  • date - (required) Date - das zu überprüfende Datum

Returns

  • hours - (array) - die Arbeitszeiten für dieses Datum

Example

gantt.config.work_time = true;
gantt.init("gantt_here");

gantt.getWorkHours(new Date(2013,03,30))// -> [8, 17] /*!*/
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.