2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / libjava / gnu / java / locale / LocaleInformation_de.java
blob4254f7c39479eebe84cf4d3fec2db27239d0c26b
1 /* LocaleInformation_de.java -- German locale data
2 Copyright (C) 1999, 2001 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)
9 any later version.
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
19 02111-1307 USA.
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.
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. */
39 package gnu.java.locale;
41 import java.util.ListResourceBundle;
42 import java.util.Calendar;
44 /**
45 * This class contains locale data for the German locale
46 * @author Jochen Hoenicke
48 public class LocaleInformation_de extends ListResourceBundle
52 * This area is used for defining object values
55 /**
56 * This is the set of collation rules used by java.text.RuleBasedCollator
57 * to sort strings properly. See the documentation of that class for the
58 * proper format.
60 private static final String collation_rules =
61 "<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" +
62 "<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" +
63 "&ae,\u00e4&Ae,\u00c4&oe,\u00f6&Oe,\u00d6&ue,\u00fc&Ue,\u00dc&ss,\u00df";
65 /**
66 * This is the list of months, fully spelled out
68 private static final String[] months = { "Januar", "Februar", "M\u00e4rz",
69 "April", "Mai", "Juni", "Juli", "August", "September", "Oktober",
70 "November", "Dezember", null };
72 /**
73 * This is the list of abbreviated month names
75 private static final String[] shortMonths = {
76 "Jan", "Feb", "M\u00e4r", "Apr", "Mai",
77 "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", null
80 /**
81 * This is the list of weekdays, fully spelled out
83 private static final String[] weekdays = {
84 null, "Sonntag", "Montag", "Dienstag",
85 "Mittwoch", "Donnerstag", "Freitag", "Samstag"
88 /**
89 * This is the list of abbreviated weekdays
91 private static final String[] shortWeekdays = {
92 null, "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"
95 /**
96 * This is the list of era identifiers
98 private static final String[] eras = { "v. Chr.", "n. Chr." };
101 * This is the list of timezone strings. The JDK appears to include a
102 * city name as the sixth element.
104 private static final String[][] zoneStrings =
106 // European time zones. The city names are a little bit random.
107 { "WET", "Westeurop\u00e4ische Zeit", "WEZ", "Westeurop\u00e4ische Sommerzeit", "WESZ", "London" },
108 { "CET", "Mitteleurop\u00e4ische Zeit", "MEZ", "Mitteleurop\u00e4ische Sommerzeit", "MESZ", "Berlin" },
109 { "EET", "Osteurop\u00e4ische Zeit", "OEZ", "Mitteleurop\u00e4ische Sommerzeit", "OESZ", "Istanbul" },
113 * This is the DateFormat.SHORT date format
115 private static final String shortDateFormat = "dd.MM.yy";
118 * This is the DateFormat.MEDIUM format
120 private static final String mediumDateFormat = "d. MMM yy";
123 * This is the DateFormat.LONG format
125 private static final String longDateFormat = "d. MMMM yyyy";
128 * This is the DateFormat.FULL format
130 private static final String fullDateFormat = "EEEE, d. MMMM yyyy";
133 * This is the DateFormat.DEFAULT format
135 private static final String defaultDateFormat = "dd.MM.yy";
138 * This is the DateFormat.SHORT format
140 private static final String shortTimeFormat = "H:mm";
143 * This is the DateFormat.MEDIUM format
145 private static final String mediumTimeFormat = "H:mm:ss";
148 * This is the DateFormat.LONG format
150 private static final String longTimeFormat = "H:mm:ss z";
153 * This is the DateFormat.FULL format
155 private static final String fullTimeFormat = "H:mm:ss 'Uhr' z";
158 * This is the DateFormat.DEFAULT format
160 private static final String defaultTimeFormat = "H:mm:ss";
163 * This is the currency symbol
165 private static final String currencySymbol = "DM";
168 * This is the international currency symbol.
170 private static final String intlCurrencySymbol = "DEM";
173 * This is the decimal point.
175 private static final String decimalSeparator = ",";
178 * This is the decimal separator in monetary values.
180 private static final String monetarySeparator = ",";
182 /*************************************************************************/
185 * This is the object array used to hold the keys and values
186 * for this bundle
189 private static final Object[][] contents =
191 // For RuleBasedCollator
192 { "collation_rules", collation_rules },
193 // For SimpleDateFormat/DateFormatSymbols
194 { "months", months },
195 { "shortMonths", shortMonths },
196 { "weekdays", weekdays },
197 { "shortWeekdays", shortWeekdays },
198 { "eras", eras },
199 { "zoneStrings", zoneStrings },
200 { "shortDateFormat", shortDateFormat },
201 { "mediumDateFormat", mediumDateFormat },
202 { "longDateFormat", longDateFormat },
203 { "fullDateFormat", fullDateFormat },
204 { "defaultDateFormat", defaultDateFormat },
205 { "shortTimeFormat", shortTimeFormat },
206 { "mediumTimeFormat", mediumTimeFormat },
207 { "longTimeFormat", longTimeFormat },
208 { "fullTimeFormat", fullTimeFormat },
209 { "defaultTimeFormat", defaultTimeFormat },
210 // For DecimalFormat/DecimalFormatSymbols
211 { "currencySymbol", currencySymbol },
212 { "intlCurrencySymbol", intlCurrencySymbol },
213 { "decimalSeparator", decimalSeparator },
214 { "monetarySeparator", monetarySeparator },
217 /*************************************************************************/
220 * This method returns the object array of key, value pairs containing
221 * the data for this bundle.
223 * @return The key, value information.
225 public Object[][]
226 getContents()
228 return(contents);
231 } // class LocaleInformation_de