harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Senaka Fernando (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5909) Incorrect values with Asia/Colombo Time Zone
Date Sat, 12 Jul 2008 09:11:31 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613062#action_12613062
] 

Senaka Fernando commented on HARMONY-5909:
------------------------------------------

Tharindu,

Indeed, Colombo is not the only city that would have these issues... Also, according to SimpleTimeZone.java,
I see no issue in doing this.

    /**
     * Constructs a new SimpleTimeZone using the specified offset for standard
     * time from GMT and the specified time zone ID.
     * 
     * @param offset
     *            the offset from GMT of standard time in milliseconds
     * @param name
     *            the time zone ID
     */
    public SimpleTimeZone(int offset, String name) {    }

As you see ONE_HOUR = 1000*60*60 = 3600000

And, ONE_HOUR * 5.5 = 19800000, which is not a float value. :)...


Regards,
Senaka

> 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.


Mime
View raw message