aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/util/SimpleTimeZone.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/util/SimpleTimeZone.java')
-rw-r--r--libjava/java/util/SimpleTimeZone.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/libjava/java/util/SimpleTimeZone.java b/libjava/java/util/SimpleTimeZone.java
index 91d2d08..c2e2560 100644
--- a/libjava/java/util/SimpleTimeZone.java
+++ b/libjava/java/util/SimpleTimeZone.java
@@ -52,7 +52,8 @@ import java.text.DateFormatSymbols;
*
* @see Calendar
* @see GregorianCalender
- * @author Jochen Hoenicke */
+ * @author Jochen Hoenicke
+ */
public class SimpleTimeZone extends TimeZone
{
/**
@@ -436,9 +437,9 @@ public class SimpleTimeZone extends TimeZone
* In the standard JDK the results given by this method may result in
* inaccurate results at the end of February or the beginning of March.
* To avoid this, you should use Calendar instead:
- * <pre>
- * offset = cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET);
- * </pre>
+ * <code>offset = cal.get(Calendar.ZONE_OFFSET)
+ * + cal.get(Calendar.DST_OFFSET);</code>
+ *
* You could also use in
*
* This version doesn't suffer this inaccuracy.