Re: Bug report: java.util.GregorianCalendar

2003-09-03 Thread Mark Wielaard
Hi, On Mon, 2003-09-01 at 23:42, Mark Wielaard wrote: > I added your observation about the first day of the month to the test. > But Jochen his email indicated that for Julian dates we also need to > correct some things. So I also added tests for that. The resulting Mauve > tests is attached. And

Re: Bug report: java.util.GregorianCalendar

2003-09-02 Thread Mark Wielaard
Hi, On Fri, 2003-08-29 at 08:58, Ito Kazumitsu wrote: > In message "Re: Bug report: java.util.GregorianCalendar" > on 03/08/28, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > > > And I have found another bug shown by the attached program. > > This bug se

Re: Bug report: java.util.GregorianCalendar

2003-08-29 Thread Jochen Hoenicke
On Friday 29 August 2003 08:58, Ito Kazumitsu wrote: > > This is my patch for this bug. > > --- java/util/GregorianCalendar.java.orig Thu Aug 14 13:32:06 2003 > +++ java/util/GregorianCalendar.java Fri Aug 29 15:56:51 2003 > @@ -264,8 +264,10 @@ > // > // The additional leap year

Re: Bug report: java.util.GregorianCalendar

2003-08-29 Thread Ito Kazumitsu
In message "Re: Bug report: java.util.GregorianCalendar" on 03/08/28, Ito Kazumitsu <[EMAIL PROTECTED]> writes: > And I have found another bug shown by the attached program. > This bug seems to have something to do with leap yeas. > If this bug is fixed, my patch abo

Re: Bug report: java.util.GregorianCalendar

2003-08-28 Thread Tom Tromey
BTW, if you're interested in fixing GregorianCalendar, there are a couple of reports against libgcj for it: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2641 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9854 Tom ___ Classpath mailing list [EMAIL PROTECT

Re: Bug report: java.util.GregorianCalendar

2003-08-28 Thread Stephen Crawley
Mark, For the record, your 'GregorianCalendar.first' testcase runs without any failures under Sun JDK 1.4.1. This suggests to me that any failures you are seeing are not the fault of your testcase! -- Steve ___ Classpath mailing list [EMAIL PROT

Re: Bug report: java.util.GregorianCalendar

2003-08-28 Thread Ito Kazumitsu
In message "Re: Bug report: java.util.GregorianCalendar" on 03/08/28, Mark Wielaard <[EMAIL PROTECTED]> writes: > Thanks. I finally looked into this. > I created a simple Mauve test case for this (attached), but even with > your patch it still gives

Re: Bug report: java.util.GregorianCalendar

2003-08-27 Thread Mark Wielaard
Hi, On Mon, 2003-07-28 at 07:43, Ito Kazumitsu wrote: > Sun's API document says about java.util.Calendar.WEEK_OF_MONTH, > "The first week of the month, as defined by getFirstDayOfWeek() and > getMinimalDaysInFirstWeek(), has value 1." > > But GNU Classpath's java.util.GregorianCalendar returns 0

Bug report: java.util.GregorianCalendar

2003-07-27 Thread Ito Kazumitsu
Sun's API document says about java.util.Calendar.WEEK_OF_MONTH, "The first week of the month, as defined by getFirstDayOfWeek() and getMinimalDaysInFirstWeek(), has value 1." But GNU Classpath's java.util.GregorianCalendar returns 0 for the first week of the month except for those special months w