diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-02-03 18:26:51 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-02-03 18:26:51 +0000 |
commit | 14447d9674516f64525e963cf08134db330dc304 (patch) | |
tree | 85aea7711b50644d2a0b864b59738c7489ebc02b /libjava/java/text/Collator.java | |
parent | 7d3151e1c97ed21842b759aedecbc34588f85112 (diff) | |
download | gcc-14447d9674516f64525e963cf08134db330dc304.tar.gz |
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
Diffstat (limited to 'libjava/java/text/Collator.java')
-rw-r--r-- | libjava/java/text/Collator.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libjava/java/text/Collator.java b/libjava/java/text/Collator.java index 76fc08da73f..5453372c5bc 100644 --- a/libjava/java/text/Collator.java +++ b/libjava/java/text/Collator.java @@ -1,6 +1,6 @@ // Collator.java - Locale-sensitive string comparison. -/* Copyright (C) 1999 Red Hat, Inc. +/* Copyright (C) 1999, 2000 Red Hat, Inc. This file is part of libgcj. @@ -56,6 +56,11 @@ public abstract class Collator implements Cloneable, Serializable return compare (source, target) == 0; } + public Object clone () + { + return super.clone (); + } + public static synchronized Locale[] getAvailableLocales () { // FIXME. |