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] Closed: (HARMONY-2948) [classlib][luni]GregorianCalendar.getActualMaximum(Calendar.WEEK_OF_YEAR) returns incorrect value
Date Wed, 31 Jan 2007 05:23:05 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-2948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tony Wu closed HARMONY-2948.
----------------------------

    Resolution: Won't Fix

close as non-bug difference according to discussion on mailling list.
http://www.mail-archive.com/dev@harmony.apache.org/msg03661.html

> [classlib][luni]GregorianCalendar.getActualMaximum(Calendar.WEEK_OF_YEAR) returns incorrect
value
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2948
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2948
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tony Wu
>
> Follwing testcase passes on RI but fails on harmony due to that it does not cut over
the days between Julian and Gregorian
>   public void testActual() {
>         Date date = new Date(Date.parse("Jan 15 00:00:01 GMT 2000"));
>         GregorianCalendar gc = new GregorianCalendar();
>         gc.setGregorianChange(date);
>         gc.setTimeInMillis(Date.parse("Jan 16 00:00:01 GMT 2000"));
>         assertEquals(50, gc.getActualMaximum(Calendar.WEEK_OF_YEAR));
>     }

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