Bug 182062 Define and provide Date/Time format value
DateTime type has been supported in BIRT. Now, there's a proposal on support Date/Time type in BIRT Report Designer. In order to enable end user setting the format of Date/Time type, please define and provide format value for both Date and Time.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/StyleHandleTest.java
design = (ReportDesign) designHandle.getModule( );
		ElementFactory factory = new ElementFactory( design );
		StyleHandle style1 = factory.newStyle( "style1" ); 
		try
		{
			style1.setNumberFormatCategory( "no format" ); 
			fail( );
		}
		catch ( SemanticException e )
		{
			assertEquals(
					PropertyValueException.DESIGN_EXCEPTION_CHOICE_NOT_FOUND, e
							.getErrorCode( ) );
		}
		style1.setNumberFormat( "****" ); 
		style1
				.setNumberFormatCategory( DesignChoiceConstants.NUMBER_FORMAT_TYPE_FIXED );
		FactoryPropertyHandle factoryHandle = style1
				.getFactoryPropertyHandle( IStyleModel.NUMBER_FORMAT_PROP );
		assertEquals( "****", factoryHandle.getStringValue( ) ); 
	}
	/**
	 * Test style is predefined or not.
	 * 
	 */
	public void testIsPredefinedStyle( )
	{
		createDesign( );
		StyleHandle style = designHandle.getElementFactory( ).newStyle(
				"myStyle" );