Menu

#254 Calendar decrepency with How-To and API

v1.0_(example)
closed-fixed
Jon Iles
None
2
2015-08-30
2015-01-06
Andrew H
No

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.

Discussion

  • Andrew H

    Andrew H - 2015-01-06

    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.

     
  • Jon Iles

    Jon Iles - 2015-08-30

    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!

     
  • Jon Iles

    Jon Iles - 2015-08-30
    • status: open --> closed-fixed
    • assigned_to: Jon Iles
     

Log in to post a comment.