Source for gnu.java.locale.LocaleInformation_de

   1: /* LocaleInformation_de.java -- German locale data
   2:    Copyright (C) 1999, 2001 Free Software Foundation, Inc.
   3: 
   4: This file is part of GNU Classpath.
   5: 
   6: GNU Classpath is free software; you can redistribute it and/or modify
   7: it under the terms of the GNU General Public License as published by
   8: the Free Software Foundation; either version 2, or (at your option)
   9: any later version.
  10:  
  11: GNU Classpath is distributed in the hope that it will be useful, but
  12: WITHOUT ANY WARRANTY; without even the implied warranty of
  13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  14: General Public License for more details.
  15: 
  16: You should have received a copy of the GNU General Public License
  17: along with GNU Classpath; see the file COPYING.  If not, write to the
  18: Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  19: 02110-1301 USA.
  20: 
  21: Linking this library statically or dynamically with other modules is
  22: making a combined work based on this library.  Thus, the terms and
  23: conditions of the GNU General Public License cover the whole
  24: combination.
  25: 
  26: As a special exception, the copyright holders of this library give you
  27: permission to link this library with independent modules to produce an
  28: executable, regardless of the license terms of these independent
  29: modules, and to copy and distribute the resulting executable under
  30: terms of your choice, provided that you also meet, for each linked
  31: independent module, the terms and conditions of the license of that
  32: module.  An independent module is a module which is not derived from
  33: or based on this library.  If you modify this library, you may extend
  34: this exception to your version of the library, but you are not
  35: obligated to do so.  If you do not wish to do so, delete this
  36: exception statement from your version. */
  37: 
  38: 
  39: package gnu.java.locale;
  40: 
  41: import java.util.ListResourceBundle;
  42: 
  43: /**
  44:   * This class contains locale data for the German locale
  45:   * @author Jochen Hoenicke
  46:   */
  47: public class LocaleInformation_de extends ListResourceBundle
  48: {
  49: 
  50: /*
  51:  * This area is used for defining object values
  52:  */
  53: 
  54: /**
  55:   * This is the set of collation rules used by java.text.RuleBasedCollator 
  56:   * to sort strings properly.  See the documentation of that class for the 
  57:   * proper format.
  58:   */
  59: private static final String collation_rules = 
  60:   "<0<1<2<3<4<5<6<7<8<9<A,a<b,B<c,C<d,D<e,E<f,F<g,G<h,H<i,I<j,J<k,K" +
  61:   "<l,L<m,M<n,N<o,O<p,P<q,Q<r,R<s,S<t,T<u,U<v,V<w,W<x,X<y,Y<z,Z" + 
  62:   "&ae,\u00e4&Ae,\u00c4&oe,\u00f6&Oe,\u00d6&ue,\u00fc&Ue,\u00dc&ss,\u00df";
  63: 
  64: /**
  65:   * This is the list of months, fully spelled out
  66:   */
  67: private static final String[] months = { "Januar", "Februar", "M\u00e4rz", 
  68:   "April", "Mai", "Juni", "Juli", "August", "September", "Oktober",
  69:   "November", "Dezember", null };
  70: 
  71: /**
  72:   * This is the list of abbreviated month names
  73:   */
  74: private static final String[] shortMonths = { 
  75:   "Jan", "Feb", "M\u00e4r", "Apr", "Mai",
  76:   "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", null 
  77: };
  78: 
  79: /**
  80:   * This is the list of weekdays, fully spelled out
  81:   */
  82: private static final String[] weekdays = { 
  83:   null, "Sonntag", "Montag", "Dienstag",
  84:   "Mittwoch", "Donnerstag", "Freitag", "Samstag" 
  85: };
  86: 
  87: /**
  88:   * This is the list of abbreviated weekdays
  89:   */
  90: private static final String[] shortWeekdays = { 
  91:   null, "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa" 
  92: };
  93: 
  94: /**
  95:   * This is the list of era identifiers
  96:   */
  97: private static final String[] eras = { "v. Chr.", "n. Chr." };
  98: 
  99: /**
 100:   * This is the list of timezone strings.  The JDK appears to include a
 101:   * city name as the sixth element.
 102:   */
 103: private static final String[][] zoneStrings =
 104: {
 105:   // European time zones.  The city names are a little bit random.
 106:   { "WET", "Westeurop\u00e4ische Zeit", "WEZ", "Westeurop\u00e4ische Sommerzeit", "WESZ", "London" },
 107:   { "CET", "Mitteleurop\u00e4ische Zeit", "MEZ", "Mitteleurop\u00e4ische Sommerzeit", "MESZ", "Berlin" },
 108:   { "EET", "Osteurop\u00e4ische Zeit", "OEZ", "Mitteleurop\u00e4ische Sommerzeit", "OESZ", "Istanbul" },
 109: };
 110: 
 111: /**
 112:   * This is the DateFormat.SHORT date format
 113:   */
 114: private static final String shortDateFormat = "dd.MM.yy";
 115: 
 116: /**
 117:   * This is the DateFormat.MEDIUM format
 118:   */
 119: private static final String mediumDateFormat = "d. MMM yy";
 120: 
 121: /**
 122:   * This is the DateFormat.LONG format
 123:   */
 124: private static final String longDateFormat = "d. MMMM yyyy";
 125: 
 126: /**
 127:   * This is the DateFormat.FULL format
 128:   */
 129: private static final String fullDateFormat = "EEEE, d. MMMM yyyy";
 130: 
 131: /**
 132:   * This is the DateFormat.DEFAULT format
 133:   */
 134: private static final String defaultDateFormat = "dd.MM.yy";
 135: 
 136: /**
 137:   * This is the DateFormat.SHORT format
 138:   */
 139: private static final String shortTimeFormat = "H:mm";
 140: 
 141: /**
 142:   * This is the DateFormat.MEDIUM format
 143:   */
 144: private static final String mediumTimeFormat = "H:mm:ss";
 145: 
 146: /**
 147:   * This is the DateFormat.LONG format
 148:   */
 149: private static final String longTimeFormat = "H:mm:ss z";
 150: 
 151: /**
 152:   * This is the DateFormat.FULL format
 153:   */
 154: private static final String fullTimeFormat = "H:mm:ss 'Uhr' z";
 155: 
 156: /**
 157:   * This is the DateFormat.DEFAULT format
 158:   */
 159: private static final String defaultTimeFormat = "H:mm:ss";
 160: 
 161: /**
 162:   * This is the currency symbol
 163:   */
 164: private static final String currencySymbol = "DM";
 165: 
 166: /**
 167:   * This is the international currency symbol. 
 168:   */
 169: private static final String intlCurrencySymbol = "DEM";
 170: 
 171: /**
 172:   * This is the decimal point.
 173:   */
 174: private static final String decimalSeparator = ",";
 175: 
 176: /**
 177:   * This is the decimal separator in monetary values.
 178:   */
 179: private static final String monetarySeparator = ",";
 180: 
 181: /*************************************************************************/
 182: 
 183: /**
 184:   * This is the object array used to hold the keys and values
 185:   * for this bundle
 186:   */
 187: 
 188: private static final Object[][] contents =
 189: {
 190:   // For RuleBasedCollator
 191:   { "collation_rules", collation_rules },
 192:   // For SimpleDateFormat/DateFormatSymbols
 193:   { "months", months },
 194:   { "shortMonths", shortMonths },
 195:   { "weekdays", weekdays },
 196:   { "shortWeekdays", shortWeekdays },
 197:   { "eras", eras },
 198:   { "zoneStrings", zoneStrings },
 199:   { "shortDateFormat", shortDateFormat },
 200:   { "mediumDateFormat", mediumDateFormat },
 201:   { "longDateFormat", longDateFormat },
 202:   { "fullDateFormat", fullDateFormat },
 203:   { "defaultDateFormat", defaultDateFormat },
 204:   { "shortTimeFormat", shortTimeFormat },
 205:   { "mediumTimeFormat", mediumTimeFormat },
 206:   { "longTimeFormat", longTimeFormat },
 207:   { "fullTimeFormat", fullTimeFormat },
 208:   { "defaultTimeFormat", defaultTimeFormat },
 209:   // For DecimalFormat/DecimalFormatSymbols
 210:   { "currencySymbol", currencySymbol },
 211:   { "intlCurrencySymbol", intlCurrencySymbol },
 212:   { "decimalSeparator", decimalSeparator },
 213:   { "monetarySeparator", monetarySeparator },
 214: };
 215: 
 216: /*************************************************************************/
 217: 
 218: /**
 219:   * This method returns the object array of key, value pairs containing
 220:   * the data for this bundle.
 221:   *
 222:   * @return The key, value information.
 223:   */
 224: public Object[][]
 225: getContents()
 226: {
 227:   return(contents);
 228: }
 229: 
 230: } // class LocaleInformation_de