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 the

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 seems to have something to do with leap yeas

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 about the WEEK_OF_MONTH will work

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 factor

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 a few failures. FAIL

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

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

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