Bug 180405 The grand total's result is incorrect[1102]
Description: The grand total's result is incorrect[1102] Build number: 2.2.0.v20070402-0630 Steps to reproduce: 1, Using the attached design file 2, Preview the results and check the grand total of QUANTITY_PRODUCT Expected result: 42, 7, 13, 5 Actual result: Only calculate the latest row of QUANTITY Error log:
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetIterator.java
{
		public int process( Date d )
		{
			return getCalendar( d ).get( Calendar.YEAR );
		}
		
	}
	
	private class QuarterProcessor implements ITimeValueProcessor
	{
		public int process( Date d )
		{
			int month = getCalendar( d ).get( Calendar.MONTH );
			int quarter = -1;
			switch ( month )
			{
				case Calendar.JANUARY :
				case Calendar.FEBRUARY :
				case Calendar.MARCH :
					quarter = 1;
					break;
				case Calendar.APRIL :
				case Calendar.MAY :
				case Calendar.JUNE :
					quarter = 2;
					break;
				case Calendar.JULY :
				case Calendar.AUGUST :
				case Calendar.SEPTEMBER :
					quarter = 3;