Bug 153896 Improve the performance of BIRT datetime-converting
The current datetime converting algorithm in birt.core, xml&flatfile ODA implementations are not efficient enough.This is because we use java's SimpleDateTimeFormatter to parse ISO8601 compatible date/time values. We should write our own datatime string parser for ISO8601 datetime format.
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
import org.eclipse.birt.core.i18n.ResourceConstants;
import org.eclipse.birt.core.i18n.ResourceHandle;
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
	{