The type of SF predecessors is not consistent. It does not use the same logic as MS-Project.
Hi,
Thank you for contacting Aspose support team.
I have tried to re-produce the issue using following sample code:
String path = "Task634609";
SimpleDateFormat sdf = new SimpleDateFormat("dd-M-yyyy hh:mm:ss");
String dateInString = "";
Date date = null;
try
{
dateInString = "01-06-2015 08:00:00";
date = sdf.parse(dateInString);
}
catch (ParseException e)
{e.printStackTrace();}
Project project = new Project();
project.set(Prj.START_DATE, date);
Task pred = project.getRootTask().getChildren().add("Task 1");
try {
dateInString = "25-06-2015 08:00:00";
date = sdf.parse(dateInString);
}
catch (ParseException e) {e.printStackTrace();}
pred.set(Tsk.START, date);
Task succ = project.getRootTask().getChildren().add("Task 2");
TaskLink link = project.getTaskLinks().add(pred, succ);
link.setLinkType(TaskLinkType.StartToFinish);
project.save(path + "Output.xml", SaveFileFormat.XML);
Here the same dates are used as per your scenario, however got the same results as by MS Project. Could you please test the above mentioned sample code using Aspose.Tasks for Java 8.4.0 and let us know the feedback?
Hi,
Hi,
The issues you have found earlier (filed as TASKS-34071) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.