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] Created: (HARMONY-2961) [classlib][luni]not able to instance a GregorianCalendar with TimeZone whose offset is greater than 24 hours
Date Wed, 10 Jan 2007 10:07:27 GMT
[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


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