[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Patch GregorianCalendar, Calendar, Date
From: |
Jeroen Frijters |
Subject: |
[cp-patches] FYI: Patch GregorianCalendar, Calendar, Date |
Date: |
Sun, 17 Oct 2004 15:39:11 +0200 |
Hi,
I committed the attached patch to fix several calendar bugs.
Regards,
Jeroen
2004-10-17 Jeroen Frijters <address@hidden>
* java/util/Calendar.java
(setTimeInMillis): Added call to clear, removed computeFields
call.
* java/util/Date.java
(Date(int,int,int,int,int,int)): Removed workaround for
GregorianCalendar bug.
* java/util/GregorianCalendar.java
(GregorianCalendar): Chained all constructors to a (new)
common constructor.
(computeTime): Fixed support for lenient month treatment.
(getLinearDay): Return long instead of int.
(calculateDay): Added fields argument and changed day argument
to long.
GregorianCalendar.patch
Description: GregorianCalendar.patch
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: Patch GregorianCalendar, Calendar, Date,
Jeroen Frijters <=