You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "spark shen (JIRA)" <ji...@apache.org> on 2006/08/16 04:17:15 UTC
[jira] Commented: (HARMONY-1151) [classlib][luni]
java.util.GregorianCalendar.getLeastMaximum() method does not return
correct value
[ http://issues.apache.org/jira/browse/HARMONY-1151?page=comments#action_12428296 ]
spark shen commented on HARMONY-1151:
-------------------------------------
Hi Paulex,
The patch looks fine.
Best regards
Spark Shen
> [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