code: private void writeCalendars(Project project)
     {
        //
        // Create the new MSPDI calendar list
        //
        Project.Calendars calendars = m_factory.createProjectCalendars();
        project.setCalendars(calendars);
        List<Project.Calendars.Calendar> calendar = calendars.getCalendar();
  
        //
        // Process each calendar in turn
        //
        for (ProjectCalendar cal : m_projectFile.getCalendars())
        {
           calendar.add(writeCalendar(cal));
        }
     }
docs: This method writes calendar data to an MSPDI file.
  
  @param project Root node of the MSPDI file