Menu

#94 MPXJ Issue: Related to Project Calendar

closed-fixed
Jon Iles
None
5
2009-07-21
2009-07-16
Arundev
No

I created one project in MSP 2003 and saved it as .xml file. In MSP the calendar which I selected is "24 Hours". The xml contains the correct values and I tried to import that xml file. Following is the code which I used to retrieve the ProjectCalendar from that .xml file.

String calendarName = mspProjectFile.getProjectHeader().getCalendarName(); // where 'mspProjectFile' is of type 'net.sf.mpxj.ProjectFile'

But I am getting the result as "Standard" only. I tried the same with .mpp file. In that case the same piece of code worked fine and the result was "24 Hours". Could you please suggest a way to fix this issue?.

Thanks,
Arundev

Discussion

  • Jon Iles

    Jon Iles - 2009-07-17
    • assigned_to: nobody --> joniles
     
  • Jon Iles

    Jon Iles - 2009-07-17

    I have a code change for this. I will try and check it into CVS tonight.

     
  • Jon Iles

    Jon Iles - 2009-07-21

    The code now in CVS fixes this.

     
  • Jon Iles

    Jon Iles - 2009-07-21
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB