Bug 130688 ULocal unsupported(Data)
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
public static Date toDateWithCheck( String source, Locale locale )
			throws BirtException
	{
		DateFormat dateFormat = DateFormat.getDateInstance( DateFormat.SHORT,
				locale );
		Date resultDate = null;
		try
		{
			resultDate = dateFormat.parse( source );
		}
		catch ( ParseException e )
		{
			return toDate( source, locale );
		}
		
		
		if ( DateUtil.checkValid( dateFormat, source ) == false )
		{
			throw new BirtException( pluginId,
					ResourceConstants.CONVERT_FAILS,
					new Object[]{
							source.toString( ), "Date"
					},
					resourceBundle );
		}
		return resultDate;
	}
	
	/**
	 * Boolean -> Double