Bug 179898 Date/Time type X-Axis labels are not correct when set grouping [0001]
Description: Date/Time type X-Axis labels are not correct when set grouping. Build number: 2.2.0.v20070328-0630 Steps to reproduce: 1. New a Bar Chart with Date/Time type X-Axis with values as 4/1/2005 10:12 AM 4/1/2005 11:15 AM 4/1/2005 7:15 AM 2. Enable X Series Grouping, set Type as "DateTime", Unit as "Day", Interval as 1, and Aggregate Expression as "Sum". 3. Preview. Expected result: X-Axis label should be "4/1/2005" Actual result: X-Axis label is "2005" Error log: N/A
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/util/CDateTime.java
return Calendar.YEAR;
	}
	/**
	 * Returns the number of days for a particular (month,year) combination
	 * 
	 * @param iMonth
	 *            The month (0-11) for which the day count is to be retrieved
	 * @param iYear
	 *            The year for which the day count is to be retrieved
	 * @return
	 */
	public static final int getMaximumDaysIn( int iMonth, int iYear )
	{
		CDateTime cdt = new CDateTime( );
		cdt.set( Calendar.YEAR, iYear );
		cdt.set( Calendar.MONTH, iMonth );
		return cdt.getActualMaximum( Calendar.DATE );
	}
	/**
	 * Returns the number of days for a particular year
	 * 
	 * @param iYear
	 *            The year for which the day count is to be retrieved
	 * 
	 * @return The number of days in the specified year
	 */
	public static final int getMaximumDaysIn( int iYear )
	{
		CDateTime cdt = new CDateTime( );
		cdt.set( Calendar.YEAR, iYear );