Bug 180899 Data of "Date", "Time" and "Date Time" type show the same result [0001]
Description: Data of "Date", "Time" and "Date Time" type show the same result. Build number: 2.2.0.v20070404-0630 Steps to reproduce: 1. New a sample data source, new a data set: select * from CLASSICMODELS.ORDERS. 2. Drag a data item from Palette to Layout, binding to row["ORDERDATE"], select type as Date, Date Time, Time. Expected result: Date of Date, Date Time and Time type have different results. Actual result: They all show Date Time format. Error log: N/A
core/org.eclipse.birt.core/src/org/eclipse/birt/core/format/DateFormatter.java
{
		String formatCode = null;
		if ( formatPattern.equals( "General Date" ) )
		{
			SimpleDateFormat dateFormat = (SimpleDateFormat) SimpleDateFormat.getDateTimeInstance( com.ibm.icu.text.DateFormat.LONG,
					com.ibm.icu.text.DateFormat.LONG,
					locale );
			formatCode = dateFormat.toPattern( );
		}
		if ( formatPattern.equals( "Long Date" ) )
		{
			SimpleDateFormat dateFormat = (SimpleDateFormat) SimpleDateFormat.getDateInstance( com.ibm.icu.text.DateFormat.LONG,
					locale );
			formatCode = dateFormat.toPattern( );
		}
		if ( formatPattern.equals( "Medium Date" ) )
		{
			SimpleDateFormat dateFormat = (SimpleDateFormat) SimpleDateFormat.getDateInstance( com.ibm.icu.text.DateFormat.MEDIUM,
					locale );
			formatCode = dateFormat.toPattern( );
		}
		if ( formatPattern.equals( "Short Date" ) )
		{
			SimpleDateFormat dateFormat = (SimpleDateFormat) SimpleDateFormat.getDateInstance( com.ibm.icu.text.DateFormat.SHORT,
					locale );
			formatCode = dateFormat.toPattern( );
		}
		if ( formatPattern.equals( "Long Time" ) )
		{
			SimpleDateFormat dateFormat = (SimpleDateFormat) SimpleDateFormat.getTimeInstance( com.ibm.icu.text.DateFormat.LONG,