code: private void readWeekDay(ProjectCalendar mpxjCalendar, WeekDay day)
     {
        if (day.isIsDayWorking())
        {
           ProjectCalendarHours hours = mpxjCalendar.addCalendarHours(day.getDay());
           for (Document.Calendars.Calendar.WeekDays.WeekDay.TimePeriods.TimePeriod period : day.getTimePeriods().getTimePeriod())
           {
              hours.addRange(new DateRange(period.getFrom(), period.getTo()));
           }
        }
     }
docs: Reads a single day for a calendar.
  
  @param mpxjCalendar ProjectCalendar instance
  @param day ConceptDraw PROJECT week day