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
return null;
		if ( source instanceof Integer )
		{
			return (Integer) source;
		}
		else if ( source instanceof Number )
		{
			 
			
			int intValue = ( (Number) source ).intValue( );
			return new Integer( intValue );
		}
		else if ( source instanceof Boolean )
		{
			if ( true == ( (Boolean) source ).booleanValue( ) )
				return new Integer( 1 );
			return new Integer( 0 );
		}
		else if ( source instanceof Date )
		{
			long longValue = ( (Date) source ).getTime( );
			return new Integer( (int) longValue );
		}
		else if ( source instanceof String )
		{
			try
			{
				return new Integer( Double.valueOf( (String) source )
						.intValue( ) );
			}