public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/15560] New: SimpleTimeZone doesn't handle on-or-before/after at ends of month
@ 2004-05-22 8:45 jlquinn at gcc dot gnu dot org
2004-05-22 14:58 ` [Bug libgcj/15560] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: jlquinn at gcc dot gnu dot org @ 2004-05-22 8:45 UTC (permalink / raw)
To: gcc-bugs
If you define a rule that goes beyond the ends of the month, getOffset will give
incorrect results. For example,
timezone.setEndRule(Calendar.SEPTEMBER, -6, -Calendar.TUESDAY, 43200000);
refers to the tuesday on or before September 6. In 2004, this is actually
August 31.
off = tz.getOffset(GregorianCalendar.AD, 2004, Calendar.AUGUST, 31,
Calendar.TUESDAY, 45000000);
should occur after the end rule, but will return before it.
See mauve test gnu.testlet.java.util.SimpleTimeZone.check12 for this example.
--
Summary: SimpleTimeZone doesn't handle on-or-before/after at ends
of month
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jlquinn at gcc dot gnu dot org
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=15560
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libgcj/15560] SimpleTimeZone doesn't handle on-or-before/after at ends of month
2004-05-22 8:45 [Bug libgcj/15560] New: SimpleTimeZone doesn't handle on-or-before/after at ends of month jlquinn at gcc dot gnu dot org
@ 2004-05-22 14:58 ` pinskia at gcc dot gnu dot org
2004-08-11 21:48 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-22 14:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-21 13:37 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-05-21 13:37:08
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15560
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libgcj/15560] SimpleTimeZone doesn't handle on-or-before/after at ends of month
2004-05-22 8:45 [Bug libgcj/15560] New: SimpleTimeZone doesn't handle on-or-before/after at ends of month jlquinn at gcc dot gnu dot org
2004-05-22 14:58 ` [Bug libgcj/15560] " pinskia at gcc dot gnu dot org
@ 2004-08-11 21:48 ` pinskia at gcc dot gnu dot org
2005-01-09 19:06 ` pinskia at gcc dot gnu dot org
2005-01-10 19:35 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-11 21:48 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |16990
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15560
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libgcj/15560] SimpleTimeZone doesn't handle on-or-before/after at ends of month
2004-05-22 8:45 [Bug libgcj/15560] New: SimpleTimeZone doesn't handle on-or-before/after at ends of month jlquinn at gcc dot gnu dot org
2004-05-22 14:58 ` [Bug libgcj/15560] " pinskia at gcc dot gnu dot org
2004-08-11 21:48 ` pinskia at gcc dot gnu dot org
@ 2005-01-09 19:06 ` pinskia at gcc dot gnu dot org
2005-01-10 19:35 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-09 19:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-09 19:06 -------
Patch here: <http://gcc.gnu.org/ml/java-patches/2005-q1/msg00045.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15560
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libgcj/15560] SimpleTimeZone doesn't handle on-or-before/after at ends of month
2004-05-22 8:45 [Bug libgcj/15560] New: SimpleTimeZone doesn't handle on-or-before/after at ends of month jlquinn at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-01-09 19:06 ` pinskia at gcc dot gnu dot org
@ 2005-01-10 19:35 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-10 19:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-10 19:35 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15560
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-01-10 19:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-22 8:45 [Bug libgcj/15560] New: SimpleTimeZone doesn't handle on-or-before/after at ends of month jlquinn at gcc dot gnu dot org
2004-05-22 14:58 ` [Bug libgcj/15560] " pinskia at gcc dot gnu dot org
2004-08-11 21:48 ` pinskia at gcc dot gnu dot org
2005-01-09 19:06 ` pinskia at gcc dot gnu dot org
2005-01-10 19: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).