code: private void readExceptionDay(ProjectCalendar mpxjCalendar, ExceptedDay day)
     {
        ProjectCalendarException mpxjException = mpxjCalendar.addCalendarException(day.getDate(), day.getDate());
        if (day.isIsDayWorking())
        {
           for (Document.Calendars.Calendar.ExceptedDays.ExceptedDay.TimePeriods.TimePeriod period : day.getTimePeriods().getTimePeriod())
           {
              mpxjException.addRange(new DateRange(period.getFrom(), period.getTo()));
           }
        }
     }
docs: Read an exception day for a calendar.
  
  @param mpxjCalendar ProjectCalendar instance
  @param day ConceptDraw PROJECT exception day