Project: Birt
Bug 185931 Support to distinguish the week between Year-Week and Month-Week[1101]
Reported: 2007-05-08 06:48:11 | Status: closed fixed

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

Files changed in fix:
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/css/ImportCssTest.java model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/library/LibraryCompoundElementTest.java model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/CompatibleIntervalStateTest.java model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/OdaCubeParseTest.java model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/TabularCubeParserTest.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/CssSharedStyleHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ModuleHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/elements/DesignChoiceConstants.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/olap/LevelHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignSession.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/css/CssStyle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/CompatibleIntervalState.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/DesignSchemaConstants.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/PropertyState.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/VersionUtil.java