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
assertEquals( "cube user1; cube user2", accessControl 
				.getPropertyHandle( IAccessControlModel.USER_NAMES_PROP )
				.getStringValue( ) );
		assertEquals( "cube role1; cube role2", accessControl 
				.getPropertyHandle( IAccessControlModel.ROLES_PROP )
				.getStringValue( ) );
		assertEquals( DesignChoiceConstants.ACCESS_PERMISSION_DISALLOW,
				accessControl.getPermission( ) );
		PropertyHandle propHandle = cube
				.getPropertyHandle( TabularCubeHandle.DIMENSIONS_PROP );
		assertEquals( 1, propHandle.getContentCount( ) );
		assertEquals( 1, cube
				.getContentCount( TabularCubeHandle.DIMENSIONS_PROP ) );
		
		DimensionHandle dimension = (DimensionHandle) propHandle.getContent( 0 );
		assertEquals( dimension, cube.getContent(
				TabularCubeHandle.DIMENSIONS_PROP, 0 ) );
		assertEquals( "testDimension", dimension.getName( ) ); 
		assertTrue( dimension.isTimeType( ) );
		propHandle = dimension
				.getPropertyHandle( DimensionHandle.HIERARCHIES_PROP );
		assertEquals( 1, propHandle.getContentCount( ) );
		assertEquals( 1, dimension
				.getContentCount( DimensionHandle.HIERARCHIES_PROP ) );
		
		TabularHierarchyHandle hierarchy = (TabularHierarchyHandle) propHandle
				.getContent( 0 );
		assertEquals( hierarchy, dimension.getContent(
				DimensionHandle.HIERARCHIES_PROP, 0 ) );