2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / libjava / gnu / java / locale / LocaleInformation_nl.java
blob073f7c06364da612e7325eda470e72d092db4a9c
1 /* LocaleInformation_nl.java -- Dutch 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;
43 import java.util.Date;
45 /**
46 * This class contains locale data for the Dutch locale
49 public class LocaleInformation_nl extends ListResourceBundle
53 * This area is used for defining object values
56 /**
57 * This is the set of collation rules used by java.text.RuleBasedCollator
58 * to sort strings properly. See the documentation of that class for the
59 * proper format.
60 * <p>
61 * This is the same rule as used in the English locale.
63 private static final String collation_rules =
64 "<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" +
65 "<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";
67 /**
68 * This is the list of months, fully spelled out
70 private static final String[] months = { "januari", "februari", "maart",
71 "april", "mei", "juni", "juli", "augustus", "september", "october",
72 "november", "december", null };
74 /**
75 * This is the list of abbreviated month names
77 private static final String[] shortMonths = { "jan", "feb", "mrt", "apr", "mei",
78 "jun", "jul", "aug", "sep", "oct", "nov", "dec", null };
80 /**
81 * This is the list of weekdays, fully spelled out
83 private static final String[] weekdays = { null, "zondag", "maandag", "dinsdag",
84 "woensdag", "donderdag", "vrijdag", "zaterdag" };
86 /**
87 * This is the list of abbreviated weekdays
89 private static final String[] shortWeekdays = { null, "zo", "ma", "di", "wo",
90 "do", "vr", "za" };
92 /**
93 * This is the list of AM/PM strings
94 * <p>
95 * Is there a real equivalent in Dutch? "Voormiddag"/"Namiddag"?
96 * Just using the Latin names for now.
98 private static final String[] ampms = { "AM", "PM" };
101 * This is the list of era identifiers
102 * <p>
103 * Is there a real equivalent in Dutch? "voor Christus"/"na Christus"?
104 * Just use the Latin/English names for now.
106 private static final String[] eras = { "BC", "AD" };
109 * This is the list of timezone strings. The JDK appears to include a
110 * city name as the sixth element.
111 * XXX - TODO - FIXME - Which timezones should be included here and how are
112 * they called?
114 private static final String[][] zoneStrings =
116 // European time zones. The city names are a little bit random.
117 { "WET", "West Europese Tijd", "WET", "West Europese Zomertijd", "WEST", "London" },
118 { "CET", "Centraal Europese Tijd", "CET", "Centraal Europese Zomertijd", "CEST", "Amsterdam" },
119 { "EET", "Oost Europese Tijd", "EET", "Oost Europese Zomertijd", "EEST", "Istanbul" },
123 * This is the list of pattern characters for formatting dates
124 * <p>
125 * This is the same as the English locale uses: era (G), year (y), month (M),
126 * month (d), hour from 1-12 (h), hour 0-23 (H), minute (m), second (s),
127 * millisecond (S), date of week (E), date of year (D),
128 * day of week in month (F), week in year (w), week in month (W), am/pm (a),
129 * hour from 1-24 (k), hour from 0-11 (K), time zone (z).
130 * Why would you use others?
132 private static final String localPatternChars = "GyMdhHmsSEDFwWakKz"; // Not a mistake!
135 * This is the DateFormat.SHORT date format
137 private static final String shortDateFormat = "dd-MM-yy";
140 * This is the DateFormat.MEDIUM format
142 private static final String mediumDateFormat = "dd-MMM-yy";
145 * This is the DateFormat.LONG format
147 private static final String longDateFormat = "dd MMMM yyyy";
150 * This is the DateFormat.FULL format
152 private static final String fullDateFormat = "EEEE dd MMMM yyyy";
155 * This is the DateFormat.DEFAULT format
157 private static final String defaultDateFormat = mediumDateFormat;
160 * This is the TimeFormat.SHORT format
162 private static final String shortTimeFormat = "HH:mm";
165 * This is the TimeFormat.MEDIUM format
167 private static final String mediumTimeFormat = "HH:mm:ss";
170 * This is the TimeFormat.LONG format
172 private static final String longTimeFormat = "HH:mm:ss";
175 * This is the TimeFormat.FULL format
177 private static final String fullTimeFormat = "HH:mm:ss z";
180 * This is the TimeFormat.DEFAULT format
182 private static final String defaultTimeFormat = shortTimeFormat;
185 * This is the currency symbol
187 private static final String currencySymbol = "fl";
190 * This is the international currency symbol.
192 private static final String intlCurrencySymbol = "NLG";
195 * This is the decimal point.
197 private static final String decimalSeparator = ",";
200 * This is the exponential symbol
202 private static final String exponential = "E";
205 * This is the char used for digits in format strings
207 private static final String digit = "#";
210 * This is the grouping separator symbols
212 private static final String groupingSeparator = ",";
215 * This is the symbols for infinity
217 private static final String infinity = "\u221e";
220 * This is the symbol for the not a number value
222 private static final String NaN = "\ufffd";
225 * This is the minus sign symbol.
227 private static final String minusSign = "-";
230 * This is the decimal separator in monetary values.
232 private static final String monetarySeparator = ",";
235 * This is the separator between positive and negative subpatterns.
237 private static final String patternSeparator = ";";
240 * This is the percent sign
242 private static final String percent = "%";
245 * This is the per mille sign
247 private static final String perMill = "\u2030";
250 * This is the character for zero.
252 private static final String zeroDigit = "0";
254 /*************************************************************************/
257 * This is the object array used to hold the keys and values
258 * for this bundle
261 private static final Object[][] contents =
263 // For RuleBasedCollator
264 { "collation_rules", collation_rules },
265 // For SimpleDateFormat/DateFormatSymbols
266 { "months", months },
267 { "shortMonths", shortMonths },
268 { "weekdays", weekdays },
269 { "shortWeekdays", shortWeekdays },
270 { "ampms", ampms },
271 { "eras", eras },
272 { "zoneStrings", zoneStrings },
273 { "localPatternChars", localPatternChars },
274 { "shortDateFormat", shortDateFormat },
275 { "mediumDateFormat", mediumDateFormat },
276 { "longDateFormat", longDateFormat },
277 { "fullDateFormat", fullDateFormat },
278 { "defaultDateFormat", defaultDateFormat },
279 { "shortTimeFormat", shortTimeFormat },
280 { "mediumTimeFormat", mediumTimeFormat },
281 { "longTimeFormat", longTimeFormat },
282 { "fullTimeFormat", fullTimeFormat },
283 { "defaultTimeFormat", defaultTimeFormat },
284 // For DecimalFormat/DecimalFormatSymbols
285 { "currencySymbol", currencySymbol },
286 { "intlCurrencySymbol", intlCurrencySymbol },
287 { "decimalSeparator", decimalSeparator },
288 { "digit", digit },
289 { "exponential", exponential },
290 { "groupingSeparator", groupingSeparator },
291 { "infinity", infinity },
292 { "NaN", NaN },
293 { "minusSign", minusSign },
294 { "monetarySeparator", monetarySeparator },
295 { "patternSeparator", patternSeparator },
296 { "percent", percent },
297 { "perMill", perMill },
298 { "zeroDigit", zeroDigit },
301 /*************************************************************************/
304 * This method returns the object array of key, value pairs containing
305 * the data for this bundle.
307 * @return The key, value information.
309 public Object[][]
310 getContents()
312 return(contents);
315 } // class LocaleInformation_nl