Bug 152298 org.eclipse.birt.report.data.oda.jdbc , org.eclipse.birt.report.data.oda.xml & org.eclipse.birt.report.data.adapter unit test failed in daily build 20060731
org.eclipse.birt.report.data.oda.jdbc , org.eclipse.birt.report.data.oda.xml & org.eclipse.birt.report.data.adapter unit test failed in daily build 20060731. Please see the attachment for details.
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
"yyyy-MM-dd HH:mm z",
				"yyyy-MM-dd HH:mmz",
				"yyyy-MM-dd HH:mm",
				"yyyy-MM-dd",
				"yyyy-MM",
				"yyyy",	
		};
		simpleDateFormatter = new SimpleDateFormat[dateFormatPattern.length];
		for ( int i = 0; i < dateFormatPattern.length; i++ )
		{
			simpleDateFormatter[i] = new SimpleDateFormat( dateFormatPattern[i] );
		}
	}
	/**
	 * convert an object to given type
	 * Types supported:
	 * 	 	DataType.INTEGER_TYPE
	 * 		DataType.DECIMAL_TYPE
	 * 		DataType.BOOLEAN_TYPE
	 * 		DataType.DATE_TYPE
	 * 		DataType.DOUBLE_TYPE
	 * 		DataType.STRING_TYPE
	 * 		DataType.BLOB_TYPE
	 * @param source
	 * @param toType
	 * @return
	 * @throws BirtException
	 */
	public static Object convert( Object source, int toType )
			throws BirtException