Bug 186502 Support more dateTimeLevelType for cube
Model has added more dateTimeLevelType on cube definition. Current available types are: year, quarter, month, week-of-month, week-of-year, day-of-week, day-of-month, day-of-year, hour, minute, second. This need Dte to provide corresponding support as well.
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetIterator.java
DataType.STRING_TYPE );
			}
		}
		catch ( DataException e )
		{
			throw new AdapterException( e.getLocalizedMessage( ) );
		}
	}
	/**
	 * Populate special data type, either be time level type or leaf level type.
	 * @param query
	 * @param metaList
	 * @param timeLevelName
	 * @param dataType
	 * @throws DataException 
	 */
	private void populateSpecialLevel( QueryDefinition query, List metaList,
			String timeLevelName, int dataType ) throws AdapterException
	{
		try
		{
			ColumnMeta temp = new ColumnMeta( timeLevelName, true, null );
			temp.setDataType( dataType );
			metaList.add( temp );
			String exprString = ExpressionUtil.createJSDataSetRowExpression( timeLevelName );
			query.addBinding( new Binding( timeLevelName,
					new ScriptExpression( exprString ) ) );
			GroupDefinition gd = new GroupDefinition( String.valueOf( query.getGroups( ).size( ) ) );
			gd.setKeyExpression( ExpressionUtil.createJSRowExpression( timeLevelName ) );
			query.addGroup( gd );