[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: timezone fix

Kaffe CVS cvs-commits at kaffe.org
Sat Feb 19 09:47:10 PST 2005


PatchSet 5574 
Date: 2005/02/19 17:37:40
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with  GNU Classpath: timezone fix

2005-02-19  Dalibor Topic  <robilad at kaffe.org>

Resynced with GNU Classpath.

2005-02-18  Sven de Marothy <sven at physto.se>

* java/util/TimeZone.java,
(getDefaultDisplayName): Fix previous fix.

Members: 
	ChangeLog:1.3618->1.3619 
	libraries/javalib/java/util/TimeZone.java:1.23->1.24 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3618 kaffe/ChangeLog:1.3619
--- kaffe/ChangeLog:1.3618	Sat Feb 19 17:29:12 2005
+++ kaffe/ChangeLog	Sat Feb 19 17:37:40 2005
@@ -2,6 +2,15 @@
 
 	Resynced with GNU Classpath.
 	
+	2005-02-18  Sven de Marothy <sven at physto.se>
+
+	* java/util/TimeZone.java,
+	(getDefaultDisplayName): Fix previous fix.
+	
+2005-02-19  Dalibor Topic  <robilad at kaffe.org>
+
+	Resynced with GNU Classpath.
+	
 	2005-02-18  David Gilbert  <david.gilbert at object-refinery.com>
 
 	* java/awt/font/TransformAttribute.java,
Index: kaffe/libraries/javalib/java/util/TimeZone.java
diff -u kaffe/libraries/javalib/java/util/TimeZone.java:1.23 kaffe/libraries/javalib/java/util/TimeZone.java:1.24
--- kaffe/libraries/javalib/java/util/TimeZone.java:1.23	Sat Feb 19 17:26:46 2005
+++ kaffe/libraries/javalib/java/util/TimeZone.java	Sat Feb 19 17:37:48 2005
@@ -1108,9 +1108,9 @@
     StringBuffer sb = new StringBuffer(9);
     sb.append("GMT");
 
-    offset = Math.abs(offset) / (1000 * 60);
-    int hours = offset / 60;
-    int minutes = offset % 60;
+    offset = offset / (1000 * 60);
+    int hours = Math.abs(offset) / 60;
+    int minutes = Math.abs(offset) % 60;
 
     if (minutes != 0 || hours != 0)
       {



More information about the kaffe mailing list