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
This commit is contained in:
parent
7d3151e1c9
commit
14447d9674
10 changed files with 132 additions and 10 deletions
|
@ -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.
|
||||
|
||||
|
@ -62,6 +62,12 @@ public abstract class DateFormat extends Format implements Cloneable
|
|||
return calendar.equals(d.calendar) && numberFormat.equals(d.numberFormat);
|
||||
}
|
||||
|
||||
public Object clone ()
|
||||
{
|
||||
// We know the superclass just call's Object's generic cloner.
|
||||
return super.clone ();
|
||||
}
|
||||
|
||||
public final StringBuffer format (Object obj,
|
||||
StringBuffer buf, FieldPosition pos)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue