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
{
							int idx = pattern.indexOf( "yy" );
							if ( idx >= 0 )
							{
								StringBuffer strBuf = new StringBuffer( pattern );
								strBuf.insert( idx, 'y' );
								pattern = strBuf.toString( );
							}
						}
						dateFormat = new SimpleDateFormat( pattern, locale );
						return;
					case 'g' :
						dateFormat = com.ibm.icu.text.DateFormat.getDateTimeInstance( com.ibm.icu.text.DateFormat.SHORT,
								com.ibm.icu.text.DateFormat.SHORT,
								locale );
						return;
					case 'M' :
					case 'm' :
						dateFormat = new SimpleDateFormat( "MM/dd", locale );
						return;
					case 'R' :
					case 'r' :
						dateFormat = new SimpleDateFormat( "yyyy.MM.dd HH:mm:ss a",
								locale );
						dateFormat.setTimeZone( TimeZone.getTimeZone( "GMT" ) );
						return;
					case 's' :
						dateFormat = new SimpleDateFormat( "yyyy.MM.dd HH:mm:ss",
								locale );
						return;