Discrepancies in Reading TimePhasedData

Please refer to the screenshot of the mpp : mpp_error_02.PNG (61.3 KB)

Here is the output that I obtained while printing out the TimePhasedData of the highlighted Task (Task 1.1 / Resource B)

UID  : 18
TYPE : 1 //AssignmentRemainingWork
UNIT : 4
VAL  : PT1H0M0S
DURA : 3600000.0
STRT : Tue Mar 13 08:00:00 IST 2018
FINI :Tue Mar 13 12:00:00 IST 2018

UID  : 18
TYPE : 2 //AssignmentActualWork
UNIT : 4
VAL  : PT1H0M0S
DURA : 3600000.0
STRT : Mon Mar 12 08:00:00 IST 2018
FINI :Mon Mar 12 17:00:00 IST 2018

May I know, whether this is the expected behaviour ?

Code :
ResourceAssignment assn = project.getResourceAssignments().getByUid(18);

assn.set(Asn.WORK_CONTOUR,WorkContourType.Contoured);
	    
System.out.println(assn.getTimephasedData().toString());
	    
for(TimephasedData td : assn.getTimephasedData()) {
	    	
	   System.out.println("UID  : " + td.getUid());
	   System.out.println("TYPE : " + td.getTimephasedDataType());
	   System.out.println("UNIT : " + td.getUnit());
	   System.out.println("VAL  : " + td.getValue());
	   System.out.println("DURA : " + td.getValueToDuration());
	   System.out.println("STRT : " + td.getStart());
	   System.out.println("FINI :" + td.getFinish());
	    	
	    } 

Please Check . The MPP file is attached along with project_aasn.mpp.zip (32.1 KB)

@sreeharibs95,

This source MPP file is converted to XML using MSP 2010 and this output XML file is opened in notepad. It can be seen that for assignment with UID 18, there are only 2 entries in the timephased data collection. As same 2 entries are read by Aspose.Tasks, therefor it does not seems to be an issue with Aspose.Tasks. You may please convert your file into XML and observe the scenario.