Bug 151381 [Smoke]The parameter didn't display in the web viewer
Description: Preview a parameter in the web viewer, it can't be previewed. Step to reproduce: 1. new a report and a parameter 2. drag it to the layout 3. preview it in the web viewer Actual result: the parameter is not displayed
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
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 HashMap dfMap = new HashMap( );
	
	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 = {