AnyChart
API Reference
Still have questions?
Contact support
Top

{typedef} anychart.core.gantt.Calendar.DailyScheduleData Improve this Doc

Type definition to represent full working daily info.
Actually is used to provide daily working/not working data with anychart.core.gantt.Calendar#getWorkingSchedule method.
NameTypeDescription
endnumberTimestamp of the end of the day.
isHolidaybooleanWhether the day described with anychart.core.gantt.Calendar.DailyScheduleData is holiday. Holiday might have working time set.
isWeekendbooleanWhether the day described with anychart.core.gantt.Calendar.DailyScheduleData is weekend. By default, weekend has no any working time.
notWorkingIntervalsArray.<anychart.core.gantt.Calendar.DailyWorkingSchedule>Array of objects with 'from' and 'to' fields that contain timestamps representing start and end of not working time on day. Actually is an array of not working intervals set by anychart.core.gantt.Calendar#schedule.
startnumberTimestamp of the beginning of the day.
workingIntervalsArray.<anychart.core.gantt.Calendar.DailyWorkingSchedule>Array of objects with 'from' and 'to' fields that contain timestamps representing start and end of working time on day. Actually is an array of working intervals set by anychart.core.gantt.Calendar#schedule.