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
}
		catch ( BirtException e )
		{
			
			return  toDate( source, DEFAULT_LOCALE );
		}
	}
	/**
	 * Call org.eclipse.birt.core.format.DateFormatter
	 * @param source
	 * @return
	 */
	private static String toString( Date source, ULocale locale )
	{
		DateFormatter df = new DateFormatter( locale );
		return df.format( (Date) source );
	}
    
    /**
     * Converts an ODA data type code to the Java class
     * of its corresponding Data Engine ODI data type. <br><br>
     * <b>ODA Data Type -> ODI Type Class</b><br>
     * <i>Integer -> java.lang.Integer<br>
     * Double -> java.lang.Double<br>
     * Character -> java.lang.String<br>
     * Decimal -> java.math.BigDecimal<br>
     * Date -> java.util.Date<br>
     * Time -> java.sql.Time<br>
     * Timestamp -> java.sql.Timestamp<br>
     * Blob -> java.sql.Blob<br>