The business hours and non-working days are defined in the Business Calendar. You can get the Business Calendar settings using theProductionSchedule.getGeneralSettings method.
Workday schedule.
Additional breaks.
Main break (for example, lunch break).
Working hours.
Non-working days.
Each day of the week is compared against the non-working day attribute.
Your review is successfully sent!
Feedback sent successfully
Business calendar settings
The business hours and non-working days are defined in the Business Calendar. You can get the Business Calendar settings using the
ProductionSchedule.getGeneralSettings method.
Hierarchy
Properties
daySchedule
Workday schedule.
Type declaration
additionalBreakTimes: TimeFromAndTo[]
Additional breaks.
lunchTime: TimeFromAndTo
Main break (for example, lunch break).
workingTime: TimeFromAndTo
Working hours.
weekends
Non-working days.
Each day of the week is compared against the non-working day attribute.
Type declaration
friday: boolean
monday: boolean
saturday: boolean
sunday: boolean
thursday: boolean
tuesday: boolean
wednesday: boolean
Feedback sent successfully
Thank you for your input