MPXJ Issue: Related to Project Calendar
Multi platform library to read and write schedule data
Brought to you by:
joniles
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
I have a code change for this. I will try and check it into CVS tonight.
The code now in CVS fixes this.