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-3004) [classlib][luni]GregorianCalendar.getActualMaximum(Calendar.DST_OFFSET) always return 0
Date Mon, 15 Jan 2007 10:10:27 GMT
[classlib][luni]GregorianCalendar.getActualMaximum(Calendar.DST_OFFSET) always return 0
---------------------------------------------------------------------------------------

                 Key: HARMONY-3004
                 URL: https://issues.apache.org/jira/browse/HARMONY-3004
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Tony Wu


Seems we have not implemented it yet.

following testcase passes on RI whereas fails on Harmony

    public void test() {
        Date date = new Date(Date.parse("Feb 28 00:00:01 GMT 2000"));
        GregorianCalendar gc = new GregorianCalendar();
        gc.setGregorianChange(date);
        gc.setTimeInMillis(Date.parse("Dec 1 00:00:01 GMT 2000"));
        assertEquals(7200000, gc.getActualMaximum(Calendar.DST_OFFSET));
    }

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