Index: gnu/java/locale/LocaleInformation_en.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/java/locale/LocaleInformation_en.java,v retrieving revision 1.18 diff -u -r1.18 LocaleInformation_en.java --- gnu/java/locale/LocaleInformation_en.java 25 Jul 2004 17:04:17 -0000 1.18 +++ gnu/java/locale/LocaleInformation_en.java 1 Dec 2004 19:27:03 -0000 @@ -1,5 +1,5 @@ -/* LocaleInformation_en.java -- US English locale data - Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc. +/* LocaleInformation_en.java -- + Copyright (C) 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -7,7 +7,7 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -36,25 +36,14 @@ exception statement from your version. */ +// This file was automatically generated by gnu.localegen from LDML en.xml + package gnu.java.locale; import java.util.ListResourceBundle; -/** - * This class contains locale data for English. - */ public class LocaleInformation_en extends ListResourceBundle { - - /* - * This area is used for defining object values - */ - - /** - * This is the set of collation rules used by java.text.RuleBasedCollator - * to sort strings properly. See the documentation of that class for the - * proper format. - */ // FIXME: this is nowhere near complete. // In particular we must mark accents as ignorable, // and probably other things as well. @@ -62,50 +51,32 @@ "<0<1<2<3<4<5<6<7<8<9 - * This is the same rule as used in the English locale. - */ private static final String collation_rules = "<0<1<2<3<4<5<6<7<8<9 - * Is there a real equivalent in Dutch? "Voormiddag"/"Namiddag"? - * Just using the Latin names for now. - */ private static final String[] ampms = { "AM", "PM" }; -/** - * This is the list of era identifiers - *

- * Is there a real equivalent in Dutch? "voor Christus"/"na Christus"? - * Just use the Latin/English names for now. - */ private static final String[] eras = { "BC", "AD" }; -/** - * This is the list of timezone strings. The JDK appears to include a - * city name as the sixth element. - * XXX - TODO - FIXME - Which timezones should be included here and how are - * they called? - */ private static final String[][] zoneStrings = { // European time zones. The city names are a little bit random. @@ -117,150 +74,59 @@ { "EET", "Oost Europese Tijd", "EET", "Oost Europese Zomertijd", "EEST", "Istanbul" }, }; -/** - * This is the list of pattern characters for formatting dates - *

- * This is the same as the English locale uses: era (G), year (y), month (M), - * month (d), hour from 1-12 (h), hour 0-23 (H), minute (m), second (s), - * millisecond (S), date of week (E), date of year (D), - * day of week in month (F), week in year (w), week in month (W), am/pm (a), - * hour from 1-24 (k), hour from 0-11 (K), time zone (z). - * Why would you use others? - */ private static final String localPatternChars = "GyMdhHmsSEDFwWakKz"; // Not a mistake! -/** - * This is the DateFormat.SHORT date format - */ private static final String shortDateFormat = "dd-MM-yy"; -/** - * This is the DateFormat.MEDIUM format - */ private static final String mediumDateFormat = "dd-MMM-yy"; -/** - * This is the DateFormat.LONG format - */ private static final String longDateFormat = "dd MMMM yyyy"; -/** - * This is the DateFormat.FULL format - */ private static final String fullDateFormat = "EEEE dd MMMM yyyy"; -/** - * This is the DateFormat.DEFAULT format - */ private static final String defaultDateFormat = mediumDateFormat; -/** - * This is the TimeFormat.SHORT format - */ private static final String shortTimeFormat = "HH:mm"; -/** - * This is the TimeFormat.MEDIUM format - */ private static final String mediumTimeFormat = "HH:mm:ss"; -/** - * This is the TimeFormat.LONG format - */ private static final String longTimeFormat = "HH:mm:ss"; -/** - * This is the TimeFormat.FULL format - */ private static final String fullTimeFormat = "HH:mm:ss z"; -/** - * This is the TimeFormat.DEFAULT format - */ private static final String defaultTimeFormat = shortTimeFormat; -/** - * This is the currency symbol - */ private static final String currencySymbol = "fl"; -/** - * This is the international currency symbol. - */ private static final String intlCurrencySymbol = "NLG"; -/** - * This is the decimal point. - */ private static final String decimalSeparator = ","; -/** - * This is the exponential symbol - */ private static final String exponential = "E"; -/** - * This is the char used for digits in format strings - */ private static final String digit = "#"; -/** - * This is the grouping separator symbols - */ private static final String groupingSeparator = ","; -/** - * This is the symbols for infinity - */ private static final String infinity = "\u221e"; -/** - * This is the symbol for the not a number value - */ private static final String NaN = "\ufffd"; -/** - * This is the minus sign symbol. - */ private static final String minusSign = "-"; -/** - * This is the decimal separator in monetary values. - */ private static final String monetarySeparator = ","; -/** - * This is the separator between positive and negative subpatterns. - */ private static final String patternSeparator = ";"; -/** - * This is the percent sign - */ private static final String percent = "%"; -/** - * This is the per mille sign - */ private static final String perMill = "\u2030"; -/** - * This is the character for zero. - */ private static final String zeroDigit = "0"; -/*************************************************************************/ - -/** - * This is the object array used to hold the keys and values - * for this bundle - */ - private static final Object[][] contents = { - // For RuleBasedCollator { "collation_rules", collation_rules }, - // For SimpleDateFormat/DateFormatSymbols { "months", months }, { "shortMonths", shortMonths }, { "weekdays", weekdays }, @@ -279,7 +145,6 @@ { "longTimeFormat", longTimeFormat }, { "fullTimeFormat", fullTimeFormat }, { "defaultTimeFormat", defaultTimeFormat }, - // For DecimalFormat/DecimalFormatSymbols { "currencySymbol", currencySymbol }, { "intlCurrencySymbol", intlCurrencySymbol }, { "decimalSeparator", decimalSeparator }, @@ -296,18 +161,5 @@ { "zeroDigit", zeroDigit }, }; -/*************************************************************************/ - -/** - * This method returns the object array of key, value pairs containing - * the data for this bundle. - * - * @return The key, value information. - */ -public Object[][] -getContents() -{ - return(contents); + public Object[][] getContents() { return contents; } } - -} // class LocaleInformation_nl