Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
135
how to display 9/80 workweek schedule in TimelineView?
posted

(1) I can set up the daily schedule for each owner by using

owner.DayOfWeekSettings[ DayOfWeekEnum.xxx ].WorkDayStartTime = DateTime.Today.Date.AddHours( start24hr );
owner.DayOfWeekSettings[ DayOfWeekEnum.xxx ].WorkDayEndTime = DateTime.Today.Date.AddHours( end24hr );

where "xxx" is Monday, Tuesday, Wednesday, and Thursday;  where each day is 9 hours long.


(2) however, in a 9/80 schedule, Fridays alternate between 8 hrs workday (on day), and 0 hr workday (off day).


(3) Therefore, if I use the following logic, the TimelineView will show this for every friday.

owner.DayOfWeekSettings[ DayOfWeekEnum.Friday ].WorkDayStartTime = DateTime.Today.Date.AddHours( start24hr );
owner.DayOfWeekSettings[ DayOfWeekEnum.xxx ].WorkDayEndTime = DateTime.Today.Date.AddHours( end24hr -1.0 );

(4) I was going to set up the "off-day" as an appointment programatically, but my users don't like the clutter in the TimelineView.

Is there another way to set up a 9/80 workweek?

Thanks.

Parents Reply Children
No Data