Bug 177691 Support Date/Time type in BIRT.
We plan to support Date/Time type in BIRT. Please refer to attached document/patch file for necessary info.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ParameterValidationUtilTest.java
assertEquals( "ab $#", ParameterValidationUtil.validate( 
				DesignChoiceConstants.PARAM_TYPE_STRING, null, value,
				ULocale.ENGLISH ) );
		value = "(444)444-4444"; 
		assertEquals( "4444444444", ParameterValidationUtil.validate( 
				DesignChoiceConstants.PARAM_TYPE_STRING,
				DesignChoiceConstants.STRING_FORMAT_TYPE_PHONE_NUMBER, value,
				ULocale.ENGLISH ) );
	}
	/**
	 * Tests the function of getDisplayValue().
	 * 
	 */
	public void testGetDisplayValue( )
	{
		
		Calendar dateCal = Calendar.getInstance( ThreadResources.getLocale( ) );
		dateCal.set( 1998, 8, 13, 20, 1, 44 );
		Date dateValue = dateCal.getTime( );
		assertEquals(
				"13 septembre 1998", ParameterValidationUtil.getDisplayValue( 
						DesignChoiceConstants.PARAM_TYPE_DATETIME,
						DesignChoiceConstants.DATETIEM_FORMAT_TYPE_LONG_DATE,
						dateValue, ULocale.FRANCE ) );
		
		assertEquals(
				"Sep 13, 1998 8:01 PM", ParameterValidationUtil.getDisplayValue( 
								DesignChoiceConstants.PARAM_TYPE_DATETIME,
								null, dateValue ) );