Calendar decrepency with How-To and API
Multi platform library to read and write schedule data
Brought to you by:
joniles
There is a decrepency with the Calendar How-To guide and the ProjectFile API.
List<projectcalendar> baseCalendars = file.getBaseCalendars();
List<projectcalendar> resourceCalendars = file.getResourceCalendars();</projectcalendar></projectcalendar>
The above method do not exist. Are these going to exist or has this changed? Looks like there is a data integrity issue with the calendars as well.
Sorry, forgot to mention that I found the Calendar integrity issue with a MS Project 2007 file.
This is where the base calendar '24 Hours' is used but the list from projectFile.getCalendars() does not return it also has a calendar I do not even see.
I attached my testing file.
I've updated the documentation. Can you open a separate issue if you think that the calendars are being read incorrectly, with more specific pointers to where you can see calendars in use in MS Project which are not seen in MPXJ. Thanks!