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
Status: New
UltraCalendar - Add a two-week work week for Owners

Currently, I can define only one week of employee start and end times for each specific employee per week.  However, we work on a two-week cycle, so I can set the first week, but every other week I have to set multiple exceptions, which has an effect on the performance of the appointment book when switching days, or selecting multiple days.

All you would have to do is to add a setting to the day settings if it is week A or week B, and have week A start on the first week of the year, and therefore week B would be the last week of the year....something like this:

EmployeeWorkDay myEmployeeWorkDay = (EmployeeWorkDay)hshEmployeeDayStartEnd[strKey];

DayOfWeekSettings MondaySettings =

ownEmployee.DayOfWeekSettings[System.DayOfWeek.Monday];

MondaySettings.WorkDayStartTime = myEmployeeWorkDay.MondayStartTime;

MondaySettings.WorkDayEndTime = myEmployeeWorkDay.MondayEndTime;

MondaySettings.IsWorkDay = myEmployeeWorkDay.MondayAvailable;

MondaySettings.WorkWeek = myEployeeWorkDay.A;