Bug 152298 org.eclipse.birt.report.data.oda.jdbc , org.eclipse.birt.report.data.oda.xml & org.eclipse.birt.report.data.adapter unit test failed in daily build 20060731
org.eclipse.birt.report.data.oda.jdbc , org.eclipse.birt.report.data.oda.xml & org.eclipse.birt.report.data.adapter unit test failed in daily build 20060731. Please see the attachment for details.
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
* 			  the locate of the string
	 * @return result Date
	 */
	public static Date toDate( String source, ULocale locale )
			throws BirtException
	{
		if ( source == null )
			return null;
		DateFormat dateFormat = null;
		Date resultDate = null;
		
		boolean existTime = source.matches( ".*[0-9]+:[0-9]+:[0-9]+.*" )
				|| source.matches( ".*[0-9]+:[0-9]+.*" );
		for ( int i = DEFAULT_DATE_STYLE; i <= DateFormat.SHORT; i++ )
		{
			for ( int j = DEFAULT_DATE_STYLE; j <= DateFormat.SHORT; j++ )
			{
				dateFormat = DateFormatHolder.getDateTimeInstance( i, j, locale );
				try
				{
					resultDate = dateFormat.parse( source );
					return resultDate;
				}
				catch ( ParseException e1 )
				{
				}
			}
			 
			if ( !existTime )
			{