Bug 152665 Supports ODA Data Type - Timestamp and Time
Supports mapping of ODA scalar data types, Timestamp and Time, to ROM data types. * Adds mapping of ODA "Timestamp" from/to "Date" type in DtE API to bridge the mapping of ODA "Timestamp" to a ROM "DateTime". * Adds mapping of ODA "Time" from/to a DtE API type to bridge the mapping of ODA "Time" to a ROM scalarParameter data type. (Specific mapping data type TBD)
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
* @throws BirtException
	 */
	public static BigDecimal toBigDecimal( Object source ) throws BirtException
	{
		if ( source == null )
			return null;
		if ( source instanceof BigDecimal )
		{
			return (BigDecimal) source;
		}
		else if ( source instanceof Number )
		{
			 
			
			
			
			String str = ( (Number) source ).toString( );
			try
			{
				return new BigDecimal( str );
			}
			catch ( NumberFormatException e )
			{
				throw new BirtException( pluginId,
						ResourceConstants.CONVERT_FAILS,
						new Object[]{
								str, "BigDecimal"
						},
						resourceBundle );
			}