From 035db16b87e0687bd77dc6a3d696bfd9be3080d1 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 17 Nov 2005 14:03:22 +0000 Subject: [multiple changes] 2005-11-17 Mark Wielaard * java/text/SimpleDateFormat.java: Removed, fully merged now. * sources.am: Regenerated. * Makefile.in: Regenerated. 2005-11-17 Sven de Marothy * java/text/SimpleDateFormat.java (computeOffset): Allow timezone to be first in the parsed String. 2005-11-17 Mark Wielaard * java/text/SimpleDateFormat.java (field, size): Make package private. 2005-11-17 Tom Tromey * java/text/SimpleDateFormat.java (compileFormat): Correctly handle quoted single quotes. PR classspath/23183. 2005-11-17 Tom Tromey * java/text/SimpleDateFormat.java (compileFormat): Reformatted. 2005-11-17 Tom Tromey * java/text/DateFormat.java (serialVersionUID): New field. 2005-11-17 Mark Wielaard * java/text/DateFormat.java (equals): Reimplement. 2005-11-17 David Gilbert * java/text/Collator.java: API doc fixes, * java/text/DateFormat.java: likewise, * java/text/DecimalFormatSymbols.java: likewise, * java/text/DateFormatSymbols.java: likewise, * java/text/SimpleDateFormat.java: likewise. 2005-11-17 Jeroen Frijters * java/text/Collator.java (getInstance(Locale)): Added default collation pattern to handle case when resource is missing and throw InternalError instead of returning null should parsing fail. From-SVN: r107121 --- libjava/java/text/DateFormatSymbols.java | 46 ++++++++++++++++---------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'libjava/java/text/DateFormatSymbols.java') diff --git a/libjava/java/text/DateFormatSymbols.java b/libjava/java/text/DateFormatSymbols.java index 274fbf686c3..27a806df1b6 100644 --- a/libjava/java/text/DateFormatSymbols.java +++ b/libjava/java/text/DateFormatSymbols.java @@ -266,7 +266,7 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable * This is a two element String array indexed by * Calendar.AM and Calendar.PM * - * @param ampms The new list of AM/PM display strings. + * @param value The new list of AM/PM display strings. */ public void setAmPmStrings (String[] value) { @@ -279,11 +279,11 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable * This is a two element String * array indexed by Calendar.BC and Calendar.AD. * - * @param eras The new list of era disply strings. + * @param labels The new list of era display strings. */ - public void setEras (String[] value) + public void setEras (String[] labels) { - eras = value; + eras = labels; } /** @@ -317,11 +317,11 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable *
  • 17 - time zone (z)
  • * * - * @param localPatternChars The new format patter characters + * @param chars The new format pattern characters */ - public void setLocalPatternChars (String value) + public void setLocalPatternChars (String chars) { - localPatternChars = value; + localPatternChars = chars; } /** @@ -331,11 +331,11 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable * Calendar.UNDECEMBER. Note that there are thirteen * elements because some calendars have thriteen months. * - * @param months The list of month display strings. + * @param labels The list of month display strings. */ - public void setMonths (String[] value) + public void setMonths (String[] labels) { - months = value; + months = labels; } /** @@ -346,11 +346,11 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable * through Calendar.UNDECEMBER. Note that there are thirteen * elements because some calendars have thirteen months. * - * @param shortMonths The new list of abbreviated month display strings. + * @param labels The new list of abbreviated month display strings. */ - public void setShortMonths (String[] value) + public void setShortMonths (String[] labels) { - shortMonths = value; + shortMonths = labels; } /** @@ -361,11 +361,11 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable * through Calendar.SATURDAY. Note that the first element * of this array is ignored. * - * @param shortWeekdays This list of abbreviated weekday display strings. + * @param labels This list of abbreviated weekday display strings. */ - public void setShortWeekdays (String[] value) + public void setShortWeekdays (String[] labels) { - shortWeekdays = value; + shortWeekdays = labels; } /** @@ -375,11 +375,11 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable * through Calendar.SATURDAY. Note that the first element * of this array is ignored. * - * @param weekdays This list of weekday display strings. + * @param labels This list of weekday display strings. */ - public void setWeekdays (String[] value) + public void setWeekdays (String[] labels) { - weekdays = value; + weekdays = labels; } /** @@ -395,11 +395,11 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable *
  • 4 - the short name of the time zone (daylight savings time).
  • * * - * @return The list of time zone display strings. + * @params zones The list of time zone display strings. */ - public void setZoneStrings (String[][] value) + public void setZoneStrings (String[][] zones) { - zoneStrings = value; + zoneStrings = zones; } /* Does a "deep" equality test - recurses into arrays. */ @@ -469,7 +469,7 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable /** * Returns a new copy of this object. * - * @param A copy of this object + * @return A copy of this object */ public Object clone () { -- cgit v1.2.3