code: private void processCalendarDays(ProjectCalendar calendar, Record root)
     {
        // Retrieve working hours ...
        Record daysOfWeek = root.getChild("DaysOfWeek");
        if (daysOfWeek != null)
        {
           for (Record dayRecord : daysOfWeek.getChildren())
           {
              processCalendarHours(calendar, dayRecord);
           }
        }
     }
docs: Process calendar days of the week.
  
  @param calendar project calendar
  @param root calendar data