You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tony Wu (JIRA)" <ji...@apache.org> on 2007/01/15 11:10:27 UTC
[jira] Created: (HARMONY-3004)
[classlib][luni]GregorianCalendar.getActualMaximum(Calendar.DST_OFFSET)
always return 0
[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
[jira] Closed: (HARMONY-3004)
[classlib][luni]GregorianCalendar.getActualMaximum(Calendar.DST_OFFSET)
always return 0
Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Liang closed HARMONY-3004.
----------------------------------
Verified by Tony.
> [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
> Assigned To: Richard Liang
>
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-3004)
[classlib][luni]GregorianCalendar.getActualMaximum(Calendar.DST_OFFSET)
always return 0
Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Liang reassigned HARMONY-3004:
--------------------------------------
Assignee: Richard Liang
> [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
> Assigned To: Richard Liang
>
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3004)
[classlib][luni]GregorianCalendar.getActualMaximum(Calendar.DST_OFFSET)
always return 0
Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471313 ]
Tony Wu commented on HARMONY-3004:
----------------------------------
this fix looks good, Thanks Richard.
> [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
> Assigned To: Richard Liang
>
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-3004)
[classlib][luni]GregorianCalendar.getActualMaximum(Calendar.DST_OFFSET)
always return 0
Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Liang resolved HARMONY-3004.
------------------------------------
Resolution: Fixed
Hello Tony,
I've fixed the issue at revision r504827 with minor change of your test case. Please verify it's fixed as you expected. Thanks a lot.
Best regards,
Richard
> [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
> Assigned To: Richard Liang
>
> 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.
-
You can reply to this email to add a comment to the issue online.