Bug 189807 The year value in select value list should be integer with out the decimal[1102]
Description: If the column member is year, the year value in select value list should be interger without the decimal such as 2003 but not the 2003.0.
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetIterator.java
}
			else if ( DesignChoiceConstants.DATE_TIME_LEVEL_TYPE_SECOND.equals( timeType ) )
			{
				return new Integer( getCalendar( d ).get( Calendar.SECOND ) );
			}
			else
				throw new AdapterException( "Error" );
		}
		private Calendar getCalendar( Object d )
		{
			if ( d == null )
				throw new java.lang.IllegalArgumentException( "date value is null!" );
			
			Date date;
			try
			{
				date = DataTypeUtil.toDate( d );
				Calendar c = Calendar.getInstance( );
				c.setTime( date );
				return c;
			}
			catch ( BirtException e )
			{
				throw new java.lang.IllegalArgumentException( "date value is invalid");
			}
			
			
		}
	}
	abstract class Function_temp extends BaseFunction implements Function