Bug 152443 Support boolean type in data set
Support boolean type in data set. It'll cause some data transform issue with absence of boolean type.
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
*/
	public static Date toDate( Object source ) throws BirtException
	{
		if ( source == null )
			return null;
		if ( source instanceof Date )
		{
			return new Date( ( (Date) source ).getTime( ) );
		}
		else if ( source instanceof String )
		{
			return toDate( (String) source );
		}
		else
		{
			throw new CoreException(
					ResourceConstants.CONVERT_FAILS,
					new Object[]{
							source.toString( ), "Date"
					});
		}
	}
    
    /**
     * Date -> Time
     * String -> Time
     * @param source
     * @return
     * @throws BirtException
     */