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
cube.setName( namePrix + cube.getName( ) );
		cube.setDefaultMeasureGroup( factory
				.newTabularMeasureGroup( "testDefaultMeasureGroup" ) ); 
		PropertyHandle propHandle = cube
				.getPropertyHandle( TabularCubeHandle.DIMENSION_CONDITIONS_PROP );
		propHandle.removeItem( 1 );
		DimensionCondition condition = new DimensionCondition( );
		DimensionConditionHandle structHandle = cube
				.addDimensionCondition( condition );
		DimensionJoinConditionHandle joinConditionHandle = structHandle
				.addJoinCondition( new DimensionJoinCondition( ) );
		joinConditionHandle.setCubeKey( "addCubeKey" ); 
		joinConditionHandle.setHierarchyKey( "addHierarchyKey" ); 
		joinConditionHandle.setLevel( "testDimension/noLevel" ); 
		structHandle = (DimensionConditionHandle) propHandle.get( 0 );
		MemberHandle memberHandle = structHandle
				.getMember( DimensionCondition.HIERARCHY_MEMBER );
		memberHandle.setValue( valuePrix + "hierarchy" ); 
		structHandle.removeJoinCondition( 1 );
		
		AccessControlHandle accessControl = (AccessControlHandle) cube
				.accessControlsIterator( ).next( );
		accessControl.addUserName( "new cube user1" ); 
		accessControl.addUserName( "new cube user2" ); 
		accessControl.addRole( "new cube role1" ); 
		accessControl.addRole( "new cube role2" ); 
		accessControl
				.setPermission( DesignChoiceConstants.ACCESS_PERMISSION_ALLOW );
		
		propHandle = cube