[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/25944] New: Calendar: Difference between Sun and Classpat
From: |
GCC at Stolsvik dot com |
Subject: |
[Bug classpath/25944] New: Calendar: Difference between Sun and Classpath while crossing DST "back" |
Date: |
24 Jan 2006 15:42:17 -0000 |
Here's adding a day (cal.add(Calendar.DAY_OF_MONTH, 1)) repeatedly on sun,
crossing this year's DST on its way back:
Sat Oct 28 00:00:00 CEST 2006
Sun Oct 29 00:00:00 CEST 2006
Mon Oct 30 00:00:00 CET 2006
Tue Oct 31 00:00:00 CET 2006
Here's on Classpath 0.20 (both Kaffe and gij, so I assume classpath):
Sat Oct 28 00:00:00 GMT+02:00 2006
Sun Oct 29 00:00:00 GMT+02:00 2006
Sun Oct 29 23:00:00 GMT+01:00 2006
Mon Oct 30 23:00:00 GMT+01:00 2006
Tue Oct 31 23:00:00 GMT+01:00 2006
TimeZone is Europe/Oslo and also CET.
(Maybe another bug: I'm missing a "consistent"/"logical" way to "force"
re-calculating from fields to time on Classpath's Calendar. Sun also had this
problem, but invoking getTime() ensured that it was done. This "trick" doesn't
work on Classpath's Calendar, but invoking .get(Date.DAY_OF_<whatever>) seems
to work?!)
--
Summary: Calendar: Difference between Sun and Classpath while
crossing DST "back"
Product: classpath
Version: 0.20
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: GCC at Stolsvik dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25944
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/25944] New: Calendar: Difference between Sun and Classpath while crossing DST "back",
GCC at Stolsvik dot com <=