Bug 284694 - Enhance org.eclipse.birt.core.data.DataTypeUtil.toSqlDate(..) performance
Summary: Enhance org.eclipse.birt.core.data.DataTypeUtil.toSqlDate(..) performance
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: xiaofeng zhang CLA
QA Contact:
URL:
Whiteboard: Obsolete
Keywords: performance
Depends on:
Blocks:
 
Reported: 2009-07-27 02:32 EDT by xiaofeng zhang CLA
Modified: 2010-03-19 05:06 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xiaofeng zhang CLA 2009-07-27 02:32:01 EDT
If the parameter is an instance of java.sql.Date, the method org.eclipse.birt.core.data.DataTypeUtil.toSqlDate(..) can return the parameter object directly.
Comment 1 xiaofeng zhang CLA 2009-07-27 02:34:03 EDT
Fixed.
Comment 2 Xiang Li CLA 2009-08-20 03:04:43 EDT
Verified in v20090810,

DataTyptUtil.toSqlDate() was no longer used if the data type of the argument was java.sql.Date.
Comment 3 Xiang Li CLA 2009-08-20 03:47:50 EDT
icu Calendar related function call was no longer used if the data type of the argument was java.sql.Date.