Project start date cannot be set explicitly
Multi platform library to read and write schedule data
Brought to you by:
joniles
In exported file, project start date is always auto-computed from all the tasks. This is a good default, but not correct in all cases. For example, you may want to start your project on 01.01.2015, but one "preparational" task is to begin on 15.12.2014. This is possible to do with MS Project, but not possible in MPXJ: when such a project is imported, all "free flow" tasks begin on 15.12.2014 too, because that is set as project start date.
Request: add ProjectFile.setStartDate(). Unless this is explicitly called, getStartDate() behaves just as now; else it trusts the caller and returns the explicit date.
A simple patch.
Just doing some housekeeping. I've renamed the method on
ProjectFileto make it clearer that they are simply calculating the earliest and latest dates.ProjectFilehas attributes representing the project start and finish dates, which can be manually set, or if not manually set will fall back on the earliest and latest dates in the project.