harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulex Yang (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-1151) [classlib][luni] java.util.GregorianCalendar.getLeastMaximum() method does not return correct value
Date Fri, 18 Aug 2006 02:22:15 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1151?page=all ]

Paulex Yang closed HARMONY-1151.
--------------------------------


Verified by Spark.

> [classlib][luni] java.util.GregorianCalendar.getLeastMaximum() method does not return
correct value
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1151
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1151
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: spark shen
>         Assigned To: Paulex Yang
>         Attachments: harmony-1151.diff
>
>
> java.util.GregorianCalendar.getLeastMaximum() method does not return
> correct value. The expected return value is 50400000, but on harmony, the
> return value is 43200000.
> The following test case gives a hint.
> public void test_getLeastMaximum() {
>         GregorianCalendar gc;
>         for (String id : TimeZone.getAvailableIDs()) {
>             gc = new GregorianCalendar(TimeZone.getTimeZone(id));
>             assertEquals(50400000, gc.getLeastMaximum(Calendar.ZONE_OFFSET));
>         }
> }
> Test case passes on RI
>           fails  on Harmony
> I will attach a patch to fix it soon
> Best regards,
> Spark Shen

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

        

Mime
View raw message