code: private void readCalendars(Document cdp)
     {
        for (Calendar calendar : cdp.getCalendars().getCalendar())
        {
           readCalendar(calendar);
        }
  
        for (Calendar calendar : cdp.getCalendars().getCalendar())
        {
           ProjectCalendar child = m_calendarMap.get(calendar.getID());
           ProjectCalendar parent = m_calendarMap.get(calendar.getBaseCalendarID());
           if (parent == null)
           {
              m_projectFile.setDefaultCalendar(child);
           }
           else
           {
              child.setParent(parent);
           }
        }
     }
docs: Extracts calendar data from a ConceptDraw PROJECT file.
  
  @param cdp ConceptDraw PROJECT file