harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2961) [classlib][luni]not able to instance a GregorianCalendar with TimeZone whose offset is greater than 24 hours
Date Mon, 22 Jan 2007 07:11:30 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466399
] 

Tony Wu commented on HARMONY-2961:
----------------------------------

verified at r498548. Thanks Tim.

> [classlib][luni]not able to instance a GregorianCalendar with TimeZone whose offset is
greater than 24 hours
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2961
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2961
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tony Wu
>         Assigned To: Tim Ellison
>         Attachments: harmony-2961.diff
>
>
> not able to instance a GregorianCalendar with TimeZone whose offset is greater than 24
hours.
> following testcase passes on RI but throws IllegalArgumentException on Harmony.
> public void test() {
>         SimpleTimeZone timezone = new SimpleTimeZone(-3600 * 24 * 1000 * 2, "GMT");
>         GregorianCalendar gc = new GregorianCalendar(timezone);
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message