Setting business hours is supported as a global option for the scheduler through the workdaystart and workdayend options.
You could however implement the custom logic and set the business hours dynamically by modifying these options and refreshing the view. Here you can find test sample which illustrates this:
You might also find more information on the matter in the following forum threads:
Progress is here for your business, like always. Read more
about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.