Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: Fix bug 150944 : org.eclipse.birt.data.engine.core.DataException when running report using API

- Summary:

Fix bug 150944


- Bugzilla Bug (s) Resolved:
Fix bug 150944: org.eclipse.birt.data.engine.core.DataException when running report using API


- Description:
'2006-07-10' is a date output format defined in ISO-8601 standard. It also can be convert to a date object in MySql. But DateFormat class can't parse the string of this pattern for ULocale.ENGLISH and ULocale.US. The toDate() method of DataTypeUtil class will throw exception in this case.

Write a parsing function in DataTypeUtil to specifically recognize all date format defined in ISO-8601.


- Tests Description:
 Junit Test

 

- Notes to Build Team:
N/A


- Notes to Developers:
N/A


- Notes to QA: 
 

N/A

 

- Notes to Documentation:  
N/A

 

- Files Edited:

/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java

/org.eclipse.birt.core/test/org/eclipse/birt/core/data/DataTypeUtilTest.java


- Files Added:

N/A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Back to the top