harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [classlib] Calendar.getMinimalDaysInFirstWeek()
Date Mon, 09 Nov 2009 10:34:29 GMT
On 06/Nov/2009 11:11, Ramana Polavarapu wrote:
> The default behavior of Harmony differs from that of RI.  RI returns 1 and
> Harmony returns 4.  The documentation does not specify any particular value.
> This is not a bug.  Shall we change it or ignore it?  Thank you.

What a strange method anyway.  The Javadoc requires reading three times
to understand what it is supposed to do, and it isn't about to win any
prizes for good grammar,

"Gets what the minimal days required in the first week of the year are"

The information should come from the underlying locale data, but I'm
surprised that the return value is ever anything other than 1 or 7 <shrug/>.

Assuming that Harmony is picking it up from the latest CLDR data, I
propose we just flag it as a non-bug difference.


View raw message