This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
FYI: Patch: java.util.SimpleTimeZone
- From: Michael Koch <konqueror at gmx dot de>
- To: java-patches at gcc dot gnu dot org
- Date: Sat, 21 Jun 2003 14:53:02 +0200
- Subject: FYI: Patch: java.util.SimpleTimeZone
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
I commited the attached little patch to trunk to clean up
java.util.SimpleTimeZone a little.
Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+9FUuWSOgCCdjSDsRAlEXAKCYvxrOGetJ+TMGMdYt6qE3QuJASgCeMIp8
hJk5mUSDBRKZ8Fl3/iauMVE=
=zcP9
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.1976
diff -u -b -B -r1.1976 ChangeLog
--- ChangeLog 21 Jun 2003 12:42:25 -0000 1.1976
+++ ChangeLog 21 Jun 2003 12:48:09 -0000
@@ -1,5 +1,10 @@
2003-06-21 Michael Koch <konqueror@gmx.de>
+ * java/util/SimpleTimeZone.java:
+ Removed unneeded import, reformatting.
+
+2003-06-21 Michael Koch <konqueror@gmx.de>
+
* java/text/DateFormat.java,
java/text/SimpleDateFormat.java,
java/util/Locale.java:
Index: java/util/SimpleTimeZone.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/SimpleTimeZone.java,v
retrieving revision 1.8
diff -u -b -B -r1.8 SimpleTimeZone.java
--- java/util/SimpleTimeZone.java 18 Jun 2002 15:40:00 -0000 1.8
+++ java/util/SimpleTimeZone.java 21 Jun 2003 12:48:09 -0000
@@ -38,8 +38,6 @@
package java.util;
-import java.text.DateFormatSymbols;
-
/**
* This class represents a simple time zone offset and handles
* daylight savings. It can only handle one daylight savings rule, so
@@ -88,6 +86,7 @@
private static final int DOW_IN_MONTH_MODE = 2;
private static final int DOW_GE_DOM_MODE = 3;
private static final int DOW_LE_DOM_MODE = 4;
+
/**
* The mode of the start rule. This takes one of the following values:
* <dl>
@@ -488,7 +487,8 @@
/**
* Returns the time zone offset to GMT in milliseconds, ignoring
* day light savings.
- * @return the time zone offset. */
+ * @return the time zone offset.
+ */
public int getRawOffset()
{
return rawOffset;
@@ -508,7 +508,8 @@
* milliseconds with respect to standard time. Typically this
* is one hour, but for some time zones this may be half an our.
* @return the daylight savings offset in milliseconds.
- * @since JDK1.1.4?
+ *
+ * @since JDK1.2
*/
public int getDSTSavings()
{