OSDN Git Service

5eea9057cf4c22adfaac6122df6dffc6bf9d31b3
[pf3gnuchains/gcc-fork.git] / libjava / gnu / java / locale / LocaleInformation_de.java
1 /* LocaleInformation_de.java -- German locale data
2    Copyright (C) 1999 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., 59 Temple Place, Suite 330, Boston, MA
19 02111-1307 USA.
20
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. */
26
27
28 package gnu.java.locale;
29
30 import java.util.ListResourceBundle;
31 import java.util.Calendar;
32
33 /**
34   * This class contains locale data for the German locale
35   * @author Jochen Hoenicke
36   */
37 public class LocaleInformation_de extends ListResourceBundle
38 {
39
40 /*
41  * This area is used for defining object values
42  */
43
44 /**
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 
47   * proper format.
48   */
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";
53
54 /**
55   * This is the list of months, fully spelled out
56   */
57 private static final String[] months = { "Januar", "Februar", "M\u00e4rz", 
58   "April", "Mai", "Juni", "Juli", "August", "September", "Oktober",
59   "November", "Dezember", null };
60
61 /**
62   * This is the list of abbreviated month names
63   */
64 private static final String[] shortMonths = { 
65   "Jan", "Feb", "M\u00e4r", "Apr", "Mai",
66   "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", null 
67 };
68
69 /**
70   * This is the list of weekdays, fully spelled out
71   */
72 private static final String[] weekdays = { 
73   null, "Sonntag", "Montag", "Dienstag",
74   "Mittwoch", "Donnerstag", "Freitag", "Samstag" 
75 };
76
77 /**
78   * This is the list of abbreviated weekdays
79   */
80 private static final String[] shortWeekdays = { 
81   null, "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa" 
82 };
83
84 /**
85   * This is the list of era identifiers
86   */
87 private static final String[] eras = { "v. Chr.", "n. Chr." };
88
89 /**
90   * This is the list of timezone strings.  The JDK appears to include a
91   * city name as the sixth element.
92   */
93 private static final String[][] zoneStrings =
94 {
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" },
99 };
100
101 /**
102   * This is the DateFormat.SHORT date format
103   */
104 private static final String shortDateFormat = "dd.MM.yy";
105
106 /**
107   * This is the DateFormat.MEDIUM format
108   */
109 private static final String mediumDateFormat = "d. MMM yy";
110
111 /**
112   * This is the DateFormat.LONG format
113   */
114 private static final String longDateFormat = "d. MMMM yyyy";
115
116 /**
117   * This is the DateFormat.FULL format
118   */
119 private static final String fullDateFormat = "EEEE, d. MMMM yyyy";
120
121 /**
122   * This is the DateFormat.DEFAULT format
123   */
124 private static final String defaultDateFormat = "dd.MM.yy";
125
126 /**
127   * This is the DateFormat.SHORT format
128   */
129 private static final String shortTimeFormat = "H:mm";
130
131 /**
132   * This is the DateFormat.MEDIUM format
133   */
134 private static final String mediumTimeFormat = "H:mm:ss";
135
136 /**
137   * This is the DateFormat.LONG format
138   */
139 private static final String longTimeFormat = "H:mm:ss z";
140
141 /**
142   * This is the DateFormat.FULL format
143   */
144 private static final String fullTimeFormat = "H:mm:ss 'Uhr' z";
145
146 /**
147   * This is the DateFormat.DEFAULT format
148   */
149 private static final String defaultTimeFormat = "H:mm:ss";
150
151 /**
152   * This is the currency symbol
153   */
154 private static final String currencySymbol = "DM";
155
156 /**
157   * This is the international currency symbol. 
158   */
159 private static final String intlCurrencySymbol = "DEM";
160
161 /**
162   * This is the decimal point.
163   */
164 private static final String decimalSeparator = ",";
165
166 /**
167   * This is the decimal separator in monetary values.
168   */
169 private static final String monetarySeparator = ",";
170
171 /*************************************************************************/
172
173 /**
174   * This is the object array used to hold the keys and values
175   * for this bundle
176   */
177
178 private static final Object[][] contents =
179 {
180   // For RuleBasedCollator
181   { "collation_rules", collation_rules },
182   // For SimpleDateFormat/DateFormatSymbols
183   { "months", months },
184   { "shortMonths", shortMonths },
185   { "weekdays", weekdays },
186   { "shortWeekdays", shortWeekdays },
187   { "eras", eras },
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 },
204 };
205
206 /*************************************************************************/
207
208 /**
209   * This method returns the object array of key, value pairs containing
210   * the data for this bundle.
211   *
212   * @return The key, value information.
213   */
214 public Object[][]
215 getContents()
216 {
217   return(contents);
218 }
219
220 } // class LocaleInformation_de