Bug 128495 Provides BIRT Adapter of DTP Oda Design objects to/from ROM ODA Data Handles
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
return toDate( source, locale );
		}
		
		
		if ( DateUtil.checkValid( dateFormat, source ) == false )
		{
			throw new BirtException( pluginId,
					ResourceConstants.CONVERT_FAILS,
					new Object[]{
							source.toString( ), "Date"
					},
					resourceBundle );
		}
		return resultDate;
	}
	
	/**
	 * Boolean -> Double
	 * 		true 	-> 1
	 * 		others 	-> 0 
	 * Date -> Double
	 * 		Date.getTime();
	 * String -> Double
	 * 		Double.valueOf(String);
	 * @param source
	 * @return
	 * @throws BirtException
	 */
	public static Double toDouble( Object source ) throws BirtException
	{