Bug 185931 Support to distinguish the week between Year-Week and Month-Week[1101]
Description: In our OLAP builder, the datetime dimension is divided into YEAR-QUARTER-MONTH-WEEK-DAY. When select all the levels, the WEEK should be the week(1 to 5) in one MONTH When select YEAR-WEEK levels, the WEEK should be the week(1 to 52) in one YEAR But now in our OLAP builder, the WEEK only belong to the MONTH, But not belong to the year, so if only select the YEAR-WEEK level, the result of crosstab is meaningless. The YEAR-DAY, MONTH-DAY and WEEK-DAY also have the same issues. we should define a rule to make sure the WEEK has a correct relationship of his parent
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignSession.java
private void initializeOptions( ModuleOption options )
	{
		if ( options == null )
			return;
		if ( resourceLocator == null )
			resourceLocator = options.getResourceLocator( );
		if ( locale == null )
			locale = options.getLocale( );
		if ( resourceFolder == null )
			resourceFolder = options.getResourceFolder( );
	}
	/**
	 * Opens a design given a stream to the design and the the file name of the
	 * design.
	 * 
	 * @param fileName
	 *            The name of the file to open. If null, the design will be
	 *            treated as a new design, and will be saved to a different
	 *            file. If not <code>null</code>, this name must include the
	 *            file name with the filename extension.
	 * @param is
	 *            stream to read the design
	 * @return the opened report design
	 * @throws DesignFileException
	 *             If the file is not found, or the file contains fatal errors.
	 */
	public ReportDesign openDesign( String fileName, InputStream is )
			throws DesignFileException
	{
		return openDesign( fileName, is, (ModuleOption) null );