| Subject: | [Issue 59] New - DataHelperTest.testDateBasedConversions() | |
|---|---|---|
| From: | umersewsky (umer...@dev.java.net) | |
| Date: | Aug 20, 2008 5:37:49 am | |
| List: | net.java.dev.jsr235.issues | |
https://jsr235.dev.java.net/issues/show_bug.cgi?id=59 Issue #|59 Summary|DataHelperTest.testDateBasedConversions() Component|jsr235 Version|current Platform|All OS/Version|All URL| Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|TCK Assigned to|radup Reported by|umersewsky
------- Additional comments from umer...@dev.java.net Wed Aug 20 12:38:11
+0000 2008 -------
First the test converts test values into java.util.Date and then tries to
convert the Date as declared as supported in CONV_TABLE. This fails for most
test values that contain time_zone information other than GMT.
The reason for failure is that a conversion starting from java.util.Date uses a calendar with time_zone set to GMT.
Following test values fail conversion: 1999-12-31T23:59:00-05:00 ---05+01:00 --12+02:00 --08-08+01:00 13:20:00-05:00 1976-08-08+04:00 2005+02:00
Proposal: Extend table testData to contain another column that represents the corresponding test value for GMT.





