You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tharindu Mathew (JIRA)" <ji...@apache.org> on 2008/07/12 09:42:31 UTC
[jira] Commented: (HARMONY-5909) Incorrect values with Asia/Colombo
Time Zone
[ https://issues.apache.org/jira/browse/HARMONY-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613057#action_12613057 ]
Tharindu Mathew commented on HARMONY-5909:
------------------------------------------
The TimeZones getTimeZone() method has incorrect values entered for "Asia/Colombo":
new SimpleTimeZone(6 * ONE_HOUR, "Asia/Colombo")
which should be.
new SimpleTimeZone(5.5 * ONE_HOUR, "Asia/Colombo")
but this cannot be fixed because it does not allow float as arguments, and the constructor uses com.ibm.icu.util Classes which cannot be modified:
public SimpleTimeZone(int offset, String name) {
setID(name);
rawOffset = offset;
icuTZ = com.ibm.icu.util.TimeZone.getTimeZone(name);
if (icuTZ instanceof com.ibm.icu.util.SimpleTimeZone) {
isSimple = true;
icuTZ.setRawOffset(offset);
}
useDaylight = icuTZ.useDaylightTime();
}
> Incorrect values with Asia/Colombo Time Zone
> --------------------------------------------
>
> Key: HARMONY-5909
> URL: https://issues.apache.org/jira/browse/HARMONY-5909
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Tharindu Mathew
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.