Bug 188803 The interval of datetime type level dosen't work[1102]
Description: The interval of datetime type level dosen't work[1102] Build number: 2.2.0.v20070524-0630 Steps to reproduce: 1, New a cube with datetime type levels 2, Specify the interval such as 2 on month level 3, New a crosstab using the cube 4, Preview Expected result: The month is group based on 2 interval Actual result: No effect after specify the interval of month Error log:
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetIterator.java
temp = new ColumnMeta( level.getName( ),
							true,
							new TimeValueProcessor( level.getDateTimeLevelType( ) ) );
					temp.setDataType( DataType.INTEGER_TYPE );
				}
				else
				{
					IDataProcessor processor = null;
					if ( DesignChoiceConstants.LEVEL_TYPE_DYNAMIC.equals( level.getLevelType( ) ) )
					{
						int interval = GroupAdapter.intervalFromModel( level.getInterval( ) );
						if ( interval != IGroupDefinition.NO_INTERVAL )
							processor = new DataProcessorWrapper( GroupCalculatorFactory.getGroupCalculator( interval,
									type,
									level.getIntervalBase( ),
									level.getIntervalRange( ) ) );
					}
					else if ( DesignChoiceConstants.LEVEL_TYPE_MIRRORED.equals( level.getLevelType( ) ) )
					{
						Iterator it = level.staticValuesIterator( );
						List dispExpr = new ArrayList( );
						List filterExpr = new ArrayList( );
						while ( it.hasNext( ) )
						{
							RuleHandle o = (RuleHandle) it.next( );
							dispExpr.add( o.getDisplayExpression( ) );
							filterExpr.add( o.getRuleExpression( ) );
						}
						
						exprString = "";