1 /* LocaleInformation_de.java -- German locale data
2 Copyright (C) 1999 Free Software Foundation, Inc.
4 This file is part of GNU Classpath.
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)
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.
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., 59 Temple Place, Suite 330, Boston, MA
21 As a special exception, if you link this library with other files to
22 produce an executable, this library does not by itself cause the
23 resulting executable to be covered by the GNU General Public License.
24 This exception does not however invalidate any other reasons why the
25 executable file might be covered by the GNU General Public License. */
28 package gnu.java.locale;
30 import java.util.ListResourceBundle;
31 import java.util.Calendar;
34 * This class contains locale data for the German locale
35 * @author Jochen Hoenicke
37 public class LocaleInformation_de extends ListResourceBundle
41 * This area is used for defining object values
45 * This is the set of collation rules used by java.text.RuleBasedCollator
46 * to sort strings properly. See the documentation of that class for the
49 private static final String collation_rules =
50 "-<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<j,K" +
51 "<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" +
52 "&ae,\u00e4&Ae,\u00c4&oe,\u00f6&Oe,\u00d6&ue,\u00fc&Ue,\u00dc&ss,\u00df";
55 * This is the list of months, fully spelled out
57 private static final String[] months = { "Januar", "Februar", "M\u00e4rz",
58 "April", "Mai", "Juni", "Juli", "August", "September", "Oktober",
59 "November", "Dezember", null };
62 * This is the list of abbreviated month names
64 private static final String[] shortMonths = {
65 "Jan", "Feb", "M\u00e4r", "Apr", "Mai",
66 "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", null
70 * This is the list of weekdays, fully spelled out
72 private static final String[] weekdays = {
73 null, "Sonntag", "Montag", "Dienstag",
74 "Mittwoch", "Donnerstag", "Freitag", "Samstag"
78 * This is the list of abbreviated weekdays
80 private static final String[] shortWeekdays = {
81 null, "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"
85 * This is the list of era identifiers
87 private static final String[] eras = { "v. Chr.", "n. Chr." };
90 * This is the list of timezone strings. The JDK appears to include a
91 * city name as the sixth element.
93 private static final String[][] zoneStrings =
95 // European time zones. The city names are a little bit random.
96 { "WET", "Westeurop\u00e4ische Zeit", "WEZ", "Westeurop\u00e4ische Sommerzeit", "WESZ", "London" },
97 { "CET", "Mitteleurop\u00e4ische Zeit", "MEZ", "Mitteleurop\u00e4ische Sommerzeit", "MESZ", "Berlin" },
98 { "EET", "Osteurop\u00e4ische Zeit", "OEZ", "Mitteleurop\u00e4ische Sommerzeit", "OESZ", "Istanbul" },
102 * This is the DateFormat.SHORT date format
104 private static final String shortDateFormat = "dd.MM.yy";
107 * This is the DateFormat.MEDIUM format
109 private static final String mediumDateFormat = "d. MMM yy";
112 * This is the DateFormat.LONG format
114 private static final String longDateFormat = "d. MMMM yyyy";
117 * This is the DateFormat.FULL format
119 private static final String fullDateFormat = "EEEE, d. MMMM yyyy";
122 * This is the DateFormat.DEFAULT format
124 private static final String defaultDateFormat = "dd.MM.yy";
127 * This is the DateFormat.SHORT format
129 private static final String shortTimeFormat = "H:mm";
132 * This is the DateFormat.MEDIUM format
134 private static final String mediumTimeFormat = "H:mm:ss";
137 * This is the DateFormat.LONG format
139 private static final String longTimeFormat = "H:mm:ss z";
142 * This is the DateFormat.FULL format
144 private static final String fullTimeFormat = "H:mm:ss 'Uhr' z";
147 * This is the DateFormat.DEFAULT format
149 private static final String defaultTimeFormat = "H:mm:ss";
152 * This is the currency symbol
154 private static final String currencySymbol = "DM";
157 * This is the international currency symbol.
159 private static final String intlCurrencySymbol = "DEM";
162 * This is the decimal point.
164 private static final String decimalSeparator = ",";
167 * This is the decimal separator in monetary values.
169 private static final String monetarySeparator = ",";
171 /*************************************************************************/
174 * This is the object array used to hold the keys and values
178 private static final Object[][] contents =
180 // For RuleBasedCollator
181 { "collation_rules", collation_rules },
182 // For SimpleDateFormat/DateFormatSymbols
183 { "months", months },
184 { "shortMonths", shortMonths },
185 { "weekdays", weekdays },
186 { "shortWeekdays", shortWeekdays },
188 { "zoneStrings", zoneStrings },
189 { "shortDateFormat", shortDateFormat },
190 { "mediumDateFormat", mediumDateFormat },
191 { "longDateFormat", longDateFormat },
192 { "fullDateFormat", fullDateFormat },
193 { "defaultDateFormat", defaultDateFormat },
194 { "shortTimeFormat", shortTimeFormat },
195 { "mediumTimeFormat", mediumTimeFormat },
196 { "longTimeFormat", longTimeFormat },
197 { "fullTimeFormat", fullTimeFormat },
198 { "defaultTimeFormat", defaultTimeFormat },
199 // For DecimalFormat/DecimalFormatSymbols
200 { "currencySymbol", currencySymbol },
201 { "intlCurrencySymbol", intlCurrencySymbol },
202 { "decimalSeparator", decimalSeparator },
203 { "monetarySeparator", monetarySeparator },
206 /*************************************************************************/
209 * This method returns the object array of key, value pairs containing
210 * the data for this bundle.
212 * @return The key, value information.
220 } // class LocaleInformation_de