Bug 182061 Data engine changes to support result set sharing
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/GroupOnRowTest.java
calendar.set( 2005, 0, 1 );
		groupOnMonth( calendar.getTime( ) );
	}
	
	/**
	 * Test feature of group on month
	 * 
	 * @throws Exception
	 */
	public void testGroupOnMonth1(  ) throws Exception
	{
		groupOnMonth( null );
	}
	private void groupOnMonth( Object startValue ) throws Exception, IOException
	{
		String[] bindingNameGroup = new String[1];
		bindingNameGroup[0] = "GROUP_DATE";
		IBaseExpression[] bindingExprGroup = new IBaseExpression[1];
		bindingExprGroup[0] = new ScriptExpression( "dataSetRow.DATE_FOR_GROUP" );
		GroupDefinition[] groupDefn = new GroupDefinition[]{
			new GroupDefinition( "group1" )
		};
		groupDefn[0].setKeyExpression( "row.GROUP_DATE" );
		groupDefn[0].setInterval( IGroupDefinition.MONTH_INTERVAL );
		if(startValue != null)
			groupDefn[0].setIntervalStart( startValue );
		groupDefn[0].setIntervalRange( 1 );
		String[] bindingNameRow = new String[4];
		bindingNameRow[0] = "ROW_DATE_FOR_GROUP";
		bindingNameRow[1] = "ROW_ID";