ProjectFile.getDefaultCalendar() may not return correct calendar if...
Multi platform library to read and write schedule data
Brought to you by:
joniles
ProjectFile.getDefaultCalendar() can return the incorrect project calendar if multiple calendars exist with the same name because the function pulls a calendar by name matching.
E.g. in the attached file, MPXJ will incorrectly pull the Resource ProjectCalendar "XYZ" instead of the other correct ProjectCalendar also named "XYZ".