-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
1.1.4, 1.1.5
-
x86, sparc
-
solaris_2.5.1, windows_95
Name: diC59631 Date: 09/26/97
GregorianCalendar c = new GregorianCalendar();
loop
c.roll(GregorianCalendar.DATE,true);
end loop
This does not work over a month boundary. It
fails to update the month. (Rolling down does
the same thing.) Therefore after August 31, we go
to August 1 instead of September 1.
I am using JavaWorkshop 2 and my classpath has
jdk1.1.4/lib/classes.zip before the
JDK/lib/classes.zip
======================================================================
- relates to
-
JDK-4084800 In calendar class, roll(int,boolean) increments date but not DAY_OF_WEEK field.
-
- Closed
-