harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramana Polavarapu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6374) [classlib] The default behavior differs from RI (Calendar.getMinimalDaysInFirstWeek()).
Date Thu, 12 Nov 2009 08:11:40 GMT

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

Ramana Polavarapu updated HARMONY-6374:
---------------------------------------

    Description: 
Calendar.getMinimalDaysInFirstWeek(), by default, does not return the same value.  RI returns
1 and Harmony returns 4.  The documentation does not specify any particular value.  This is
not a bug.  However, if there is a need for Harmony's default behavior to match that of RI,
it needs to be fixed.
 import java.util.GregorianCalendar;

 public class CalendarTest {

 public static void main(String[] args) {

 GregorianCalendar c = new GregorianCalendar();

 System.out.println(c.getMinimalDaysInFirstWeek());

 }

 }


  was:This is not a bug.  However, if there is a need for Harmony's default behavior to match
that of RI, it needs to be fixed.

        Summary: [classlib] The default behavior differs from RI (Calendar.getMinimalDaysInFirstWeek()).
   (was: [clisslib] The default behavior of Harmony differs from that of RI when it comes
to the method Calendar.getMinimalDaysInFirstWeek().  RI returns 1 and Harmony returns 4. 
The documentation does not specify any particular value.)

> [classlib] The default behavior differs from RI (Calendar.getMinimalDaysInFirstWeek()).
 
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6374
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6374
>             Project: Harmony
>          Issue Type: Bug
>          Components: Non-bug differences from RI
>    Affects Versions: 5.0M11
>         Environment: All platforms
>            Reporter: Ramana Polavarapu
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Calendar.getMinimalDaysInFirstWeek(), by default, does not return the same value.  RI
returns 1 and Harmony returns 4.  The documentation does not specify any particular value.
 This is not a bug.  However, if there is a need for Harmony's default behavior to match that
of RI, it needs to be fixed.
>  import java.util.GregorianCalendar;
>  public class CalendarTest {
>  public static void main(String[] args) {
>  GregorianCalendar c = new GregorianCalendar();
>  System.out.println(c.getMinimalDaysInFirstWeek());
>  }
>  }

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