Bug 162174 [Regression]Default value of datetime parameter is not selected
Default value of datetime parameter is not selected Steps to reproduce: 1.new a report and new a parameter 2.set the parameter data type"DateTime",display type"Radio Button" and new two parameters,the display text and value of the first are "this year" and "09/05/2006,the second is "last year" and "09/05/2005". Set the first one as the default value 3.preview in html Expected result: the default value is selected Actual result: the default value is not selected
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DateFormatISO8601.java
}
		}
		if ( hyphenNumber == 0 && colonNumber == 0 && source.length( ) > 4 )
		{
			return null;
		}
		return ( new PatternKey( colonNumber,
				blankNumber,
				hyphenNumber,
				dotNumber,
				timeZomeNumber ) );
	}
}
/**
 * A class used as hash key of date format pattern.
 *
 */
class PatternKey
{
	private int colonNumber;
	private int blankNumber;
	private int hyphenNumber;
	private int dotNumber;
	private int timeZomeNumber;
	PatternKey( int colonNumber, int blankNumber, int hyphenNumber,
			int dotNumber, int timeZomeNumber )
	{
		this.colonNumber = colonNumber;
		this.blankNumber = blankNumber;
		this.hyphenNumber = hyphenNumber;