Bug 196894 BIRT Cross tab, Cube - Time dimension enhancements
There were a couple of time dimension related enhancments planned post BIRT 2.2. This entry is to track those. This enhancments also includes - supporting additional predefined data time formats, that could make it easier to define data time dimension and use it in data items.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/TabularCubeParserTest.java
measure.setName( namePrix + measure.getName( ) );
		measure.setMeasureExpression( valuePrix
				+ measure.getMeasureExpression( ) );
		measure.setFunction( DesignChoiceConstants.MEASURE_FUNCTION_COUNT );
		measure.setCalculated( true );
		measure.setDataType( DesignChoiceConstants.COLUMN_DATA_TYPE_BOOLEAN );
		save( );
		assertTrue( compareFile( "CubeParserTest_golden.xml" ) ); 
	}
	/**
	 * 
	 * @throws Exception
	 */
	public void testCommand( ) throws Exception
	{
		openDesign( FILE_NAME );
		assertNotNull( designHandle );
		
		TabularCubeHandle cube = (TabularCubeHandle) designHandle
				.findCube( "testCube" ); 
		try
		{
			cube.setName( null );
			fail( );
		}
		catch ( NameException e )
		{
		}
		IDesignElement clonedCube = cube.copy( );
		assertNotNull( clonedCube );