code: private void readCalendar(Calendar calendar)
     {
        ProjectCalendar mpxjCalendar = m_projectFile.addCalendar();
        mpxjCalendar.setName(calendar.getName());
        m_calendarMap.put(calendar.getID(), mpxjCalendar);
  
        for (WeekDay day : calendar.getWeekDays().getWeekDay())
        {
           readWeekDay(mpxjCalendar, day);
        }
  
        for (ExceptedDay day : calendar.getExceptedDays().getExceptedDay())
        {
           readExceptionDay(mpxjCalendar, day);
        }
     }
docs: Read a calendar.
  
  @param calendar ConceptDraw PROJECT calendar