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-2954) [classlib][luni]GregorianCalendar.getActualMaximum(Calendar.DAY_OF_YEAR) returns incorrect value
Date Thu, 11 Jan 2007 03:28:27 GMT

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

Tony Wu commented on HARMONY-2954:
----------------------------------

verified at 495093. Thanks Richard.

> [classlib][luni]GregorianCalendar.getActualMaximum(Calendar.DAY_OF_YEAR) returns incorrect
value
> ------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2954
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2954
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tony Wu
>         Assigned To: Richard Liang
>            Priority: Trivial
>         Attachments: harmony-2954.diff
>
>
> 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 testActualDayOfYear() { 
>         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(353, gc.getActualMaximum(Calendar.DAY_OF_YEAR)); 
>     }

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