Bug 180123 Add input format hint for date and time type as datetime type does.[0705]
Description: Add input format hint for date and time type as datetime type does. build number:2.2.0.v20070330 Steps to reproduce: 1. New a report parameter. 2. Set Type as Date or Time. Expected result: Show value input format below default value as datetime type does. Actual result: No hint about how to input date/time value.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
ULocale.US ) );
			}
			catch ( BirtException e )
			{
			}
		}
		return string;
	}
	private String convertToStandardFormat( Date date )
	{
		if ( date == null )
		{
			return null;
		}
		return new DateFormatter( STANDARD_DATE_TIME_PATTERN, ULocale.US ).format( date );
	}
	private String getExpression( String columnName )
	{
		if ( columnName.equals( NONE_DISPLAY_TEXT ) )
		{
			return null;
		}
		for ( Iterator iter = columnList.iterator( ); iter.hasNext( ); )
		{
			ResultSetColumnHandle cachedColumn = (ResultSetColumnHandle) iter.next( );
			if ( cachedColumn.getColumnName( ).equals( columnName ) )
			{
				return DEUtil.getExpression( cachedColumn );
			}
		}