Bug 180645 Support set format for Date/Time type parameter.[0705]
Description: Support set format for Date/Time type parameter. Build number:2.2.0.v200704031345 Steps to reproduce: 1. New a Date report parameter. 2. Click Change... button to set format for it. Expected result: Can set format for Date/Time parameter. Actual result: Change... button is disabled. Error log:N/A
core/org.eclipse.birt.core/src/org/eclipse/birt/core/format/DateFormatter.java
/**
	 * define pattern and locale here
	 * 
	 * @param formatString
	 */
	public void applyPattern( String formatString )
	{
		try
		{
			this.formatPattern = formatString;
			/*
			 * we can seperate these single name-based patterns form those
			 * patterns with multinumber letters
			 */
			if ( formatString == null || "Unformatted".equals( formatString ) ) 
			{
				formatPattern = "";
				dateFormat = com.ibm.icu.text.DateFormat.getDateTimeInstance( com.ibm.icu.text.DateFormat.MEDIUM,
						com.ibm.icu.text.DateFormat.SHORT,
						locale );
				return;
			}
			if ( formatString.length( ) == 1 )
			{
				char patternTemp = formatString.charAt( 0 );
				switch ( patternTemp )
				{
					case 'G' :
						dateFormat = com.ibm.icu.text.DateFormat.getDateTimeInstance( com.ibm.icu.text.DateFormat.LONG,
								com.ibm.icu.text.DateFormat.LONG,