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
/**
	 * @param source
	 * @return byte array
	 * @throws BirtException
	 */
	public static byte[] toBytes( Object source ) throws BirtException
	{
		
		if ( source == null )
			return null;
		if ( source instanceof byte[] )
			return (byte[]) source;
		else
			throw new BirtException( pluginId,
					ResourceConstants.CONVERT_FAILS,
					new Object[]{
							source.toString( ), "Binary"
					},
					resourceBundle );
	}
	/**
	 * Converts a Java class to its corresponding data type constant
	 * defined in DataType 
	 */
	public static int toApiDataType( Class clazz )
	{
		if ( clazz == null )
			return DataType.UNKNOWN_TYPE;
		if ( clazz == DataType.AnyType.class )
			return DataType.ANY_TYPE;