Project: Birt
Bug 252718 Centralize CDatetime conversion in chart engine
Reported: 2008-10-30 02:15:09 | Status: resolved fixed

In chart engine, there are a lot of codes/patches to convert Date/Calendar data to CDatetime. Since chart engine always uses CDatetime as datetime data, it's better to centralize this conversion to one point: after evaluation, so as to prevent ClassCastException and optimize code structure.

Files changed in fix:
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/LegendBuilder.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/SeriesNameFormat.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/internal/datafeed/DataProcessor.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/internal/datafeed/GroupingUtil.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/internal/datafeed/ResultSetWrapper.java