Bug 145741 Could not set the value of Boolean parameter as 0 or 1
Description: Could not set the value of report scalar boolean parameter as 0 or 1. Steps to reproduce: 1.Create a report parameter, boolean type, Combo Box display type. 2.Add the value as 0, failed. Expect result: Could set integer value to boolean type parameter.
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
{
	
	
	private static ULocale DEFAULT_LOCALE = ULocale.US;
	 
	private static int DEFAULT_DATE_STYLE =DateFormat.MEDIUM;
	 
	public static ResourceBundle resourceBundle = ( new ResourceHandle( ULocale
			.getDefault( ) ) ).getResourceBundle( );
	public static long count = 0;
	private final static String pluginId = "org.eclipse.birt.core";
	
	/**
	 * convert an object to given type
	 * Types supported:
	 * 	 	DataType.INTEGER_TYPE
	 * 		DataType.DECIMAL_TYPE
	 * 		DataType.BOOLEAN_TYPE
	 * 		DataType.DATE_TYPE
	 * 		DataType.DOUBLE_TYPE
	 * 		DataType.STRING_TYPE
	 * 		DataType.BLOB_TYPE
	 * @param source
	 * @param toType
	 * @return
	 * @throws BirtException
	 */