code: private void readProjectProperties(Project ganttProject)
     {
        ProjectProperties mpxjProperties = m_projectFile.getProjectProperties();
        mpxjProperties.setName(ganttProject.getName());
        mpxjProperties.setCompany(ganttProject.getCompany());
        mpxjProperties.setDefaultDurationUnits(TimeUnit.DAYS);
  
        String locale = ganttProject.getLocale();
        if (locale == null)
        {
           locale = "en_US";
        }
        m_localeDateFormat = DateFormat.getDateInstance(DateFormat.SHORT, new Locale(locale));
     }
docs: This method extracts project properties from a GanttProject file.
  
  @param ganttProject GanttProject file