Menu

#346 Offset dates when reading MPP.

v1.0_(example)
closed
nobody
None
5
2021-06-10
2021-04-15
No

I have a problem reading the MPP. I am getting offset dates when getting, for example, the START field.

@Test
public void testBug() throws MPXJException {
MPPReader reader = new MPPReader();
ProjectFile project = reader.read("C:\3.mpp");
listHierarchy(project);
}

public void listHierarchy(ProjectFile file)
{
for (Task task : file.getChildTasks())
{
System.out.println("Task: " + task.getStart());
listHierarchy(task, " ");
}
System.out.println();
}

private void listHierarchy(Task task, String indent)
{
for (Task child : task.getChildTasks())
{
System.out.println(indent + "Task: " + child.getStart());
listHierarchy(child, indent + " ");
}
}

1 Attachments

Discussion

  • Zharikov Alexey

    Zharikov Alexey - 2021-04-15

    Detail screen

     
  • Jon Iles

    Jon Iles - 2021-06-10
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB