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
import org.eclipse.birt.core.script.JavascriptEvalUtil;
import com.ibm.icu.text.DateFormat;
import com.ibm.icu.text.SimpleDateFormat;
import com.ibm.icu.util.ULocale;
/**
 * A utility function The convert method converts the source object, which can
 * be any supported data type, into an object given specified type. If no
 * reasonable conversion can be made, throw a BirtException.
 */
public final class DataTypeUtil
{
	
	
	private static ULocale DEFAULT_LOCALE = ULocale.US;
	 
	private static int DEFAULT_DATE_STYLE = DateFormat.MEDIUM;
	
	private static Map dfMap = DateFormatUtil.getAllDateFormatter();
	
	private static SimpleDateFormat[] simpleDateFormatter = null;
	 
	public static ResourceBundle resourceBundle = ( new ResourceHandle( ULocale.getDefault( ) ) ).getResourceBundle( );
	public static long count = 0;
	private final static String pluginId = "org.eclipse.birt.core";
	static
	{
		
		
		String[] dateFormatPattern = {
				"yyyy-MM-dd HH:mm:ss.S z",