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
120
DateRecurrence behavior on ProjectCalendarException
posted

Hi, we'd like to add a dateRecurrence on a ProjectCalendarException that for example will reoccur every week on Thursday. Unfortunately we're unable to find a working solution, regardless of what combination of count, interval and frequency we're trying.

Based on the documentation we tried:

      ProjectCalendarException pce = new ProjectCalendarException()

      {

        DateRange = new DateRange(DateTime.Today),

        DaySettings = new DaySettings { IsWorkday = false },

        Recurrence = new DateRecurrence { Count = 0, Frequency = DateRecurrenceFrequency.Weekly },

      };

Now I would expect that this exception reoccurs every week for an unlimited time, but that's not the case in v17.1. In addition, if we set the count to 2, the next 2 weeks are now none-working-days instead of one none-working day reoccurring for 2 weeks.

Any help appreciated.