From 14447d9674516f64525e963cf08134db330dc304 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 3 Feb 2000 18:26:51 +0000 Subject: Calendar.java (toString): New method. * java/util/Calendar.java (toString): New method. * java/util/SimpleTimeZone.java (clone): New method. (toString): New method. * java/util/TimeZone.java (clone): New method. * java/text/SimpleDateFormat.java (clone): New method. * java/text/NumberFormat.java (clone): New method. (equals): New method. * java/text/Format.java (clone): New method. * java/text/DateFormatSymbols.java (DateFormatSymbols): New constructor. (clone): New method. * java/text/DateFormat.java (clone): New method. * java/text/Collator.java (clone): New method. From-SVN: r31775 --- libjava/java/util/TimeZone.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libjava/java/util/TimeZone.java') diff --git a/libjava/java/util/TimeZone.java b/libjava/java/util/TimeZone.java index 37e1623..16772ad 100644 --- a/libjava/java/util/TimeZone.java +++ b/libjava/java/util/TimeZone.java @@ -1,4 +1,4 @@ -/* Copyright (C) 1998, 1999 Red Hat, Inc. +/* Copyright (C) 1998, 1999, 2000 Red Hat, Inc. This file is part of libgcj. @@ -152,7 +152,11 @@ public abstract class TimeZone implements java.io.Serializable, Cloneable return this == other; } - // public Object clone (); + public Object clone () + { + // Just use Object's generic cloner. + return super.clone (); + } // Names of timezones. This array is kept in parallel with // rawOffsets. This list comes from the JCL 1.1 book. -- cgit v1.1