public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/15162] New: GregorianCalendar skips 2004 Feb 29
@ 2004-04-27 8:13 gccbugz at k1k2 dot com
2004-04-27 8:55 ` [Bug libgcj/15162] " rmathew at gcc dot gnu dot org
2004-04-27 11:35 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: gccbugz at k1k2 dot com @ 2004-04-27 8:13 UTC (permalink / raw)
To: java-prs
A simple program to create a GregorianCalendar with year=2004, month=1, day=29
gives 2004-Mar-1 instead of 2004-Feb-29
e.g.
SimpleDateFormat sdf = new SimpleDateFormat("yyyy MMMMM d HH:mm:ss");
GregorianCalendar gc = new GregorianCalendar(2004, 1, 29, 0, 0, 0);
System.out.println(sdf.format(gc.getTime()) + " " + gc.getTimeInMillis());
(Sun j2sdk 1.4.2 gives 2004-Feb-29)
--
Summary: GregorianCalendar skips 2004 Feb 29
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P1
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gccbugz at k1k2 dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15162
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libgcj/15162] GregorianCalendar skips 2004 Feb 29
2004-04-27 8:13 [Bug java/15162] New: GregorianCalendar skips 2004 Feb 29 gccbugz at k1k2 dot com
@ 2004-04-27 8:55 ` rmathew at gcc dot gnu dot org
2004-04-27 11:35 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: rmathew at gcc dot gnu dot org @ 2004-04-27 8:55 UTC (permalink / raw)
To: java-prs
------- Additional Comments From rmathew at gcc dot gnu dot org 2004-04-27 08:55 -------
This bug is no longer valid for mainline. I do not have a 3.4 build.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|java |libgcj
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15162
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libgcj/15162] GregorianCalendar skips 2004 Feb 29
2004-04-27 8:13 [Bug java/15162] New: GregorianCalendar skips 2004 Feb 29 gccbugz at k1k2 dot com
2004-04-27 8:55 ` [Bug libgcj/15162] " rmathew at gcc dot gnu dot org
@ 2004-04-27 11:35 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-27 11:35 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-27 11:34 -------
This was fixed for 3.4.0. I think it is a dup of another bug too.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15162
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-04-27 11:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-27 8:13 [Bug java/15162] New: GregorianCalendar skips 2004 Feb 29 gccbugz at k1k2 dot com
2004-04-27 8:55 ` [Bug libgcj/15162] " rmathew at gcc dot gnu dot org
2004-04-27 11:35 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).