1 /* LocaleInformation_nl.java -- Dutch 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;
32 import java.util.Date;
35 * This class contains locale data for the Dutch locale
38 public class LocaleInformation_nl extends ListResourceBundle
42 * This area is used for defining object values
46 * This is the set of collation rules used by java.text.RuleBasedCollator
47 * to sort strings properly. See the documentation of that class for the
50 * This is the same rule as used in the English locale.
52 private static final String collation_rules =
53 "-<0,1<2<3<4<5<6<7<8<9A,a<b,B<c,C<d,D<e,E<f,F<g,G<h,H<i,I<j,J<j,K" +
54 "<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";
57 * For the followings lists, strings that are subsets of other break strings
58 * must be listed first. For example, if "\r" and "\r\n" are sequences,
59 * the "\r" must be first or it will never be used.
63 * This is the list of word separator characters used by
64 * java.text.BreakIterator
66 * This is the same list as used in the English local
68 private static final String[] word_breaks = { " ", "\t", "\r\n", "\n" };
71 * This is the list of sentence break sequences used by
72 * java.text.BreakIterator
74 * This is the same list as used in the English local
76 private static final String[] sentence_breaks = { ". " };
79 * This is the list of potential line break locations.
81 * This is the same list as used in the English local
83 private static final String[] line_breaks = { "\t", "-", "\r\n",
84 "\n", ". ", ". ", ".", "? ", "? ", "?", "! ", "! ", "!", ", ", " " };
87 * This is the list of months, fully spelled out
89 private static final String[] months = { "januari", "februari", "maart",
90 "april", "mei", "juni", "juli", "augustus", "september", "october",
91 "november", "december", null };
94 * This is the list of abbreviated month names
96 private static final String[] shortMonths = { "jan", "feb", "mrt", "apr", "mei",
97 "jun", "jul", "aug", "sep", "oct", "nov", "dec", null };
100 * This is the list of weekdays, fully spelled out
102 private static final String[] weekdays = { null, "zondag", "maandag", "dinsdag",
103 "woensdag", "donderdag", "vrijdag", "zaterdag" };
106 * This is the list of abbreviated weekdays
108 private static final String[] shortWeekdays = { null, "zo", "ma", "di", "wo",
112 * This is the list of AM/PM strings
114 * Is there a real equivalent in Dutch? "Voormiddag"/"Namiddag"?
115 * Just using the Latin names for now.
117 private static final String[] ampms = { "AM", "PM" };
120 * This is the list of era identifiers
122 * Is there a real equivalent in Dutch? "voor Christus"/"na Christus"?
123 * Just use the Latin/English names for now.
125 private static final String[] eras = { "BC", "AD" };
128 * This is the list of timezone strings. The JDK appears to include a
129 * city name as the sixth element.
130 * XXX - TODO - FIXME - Which timezones should be included here and how are
133 private static final String[][] zoneStrings =
135 // European time zones. The city names are a little bit random.
136 { "WET", "West Europese Tijd", "WET", "West Europese Zomertijd", "WEST", "London" },
137 { "CET", "Centraal Europese Tijd", "CET", "Centraal Europese Zomertijd", "CEST", "Amsterdam" },
138 { "EET", "Oost Europese Tijd", "EET", "Oost Europese Zomertijd", "EEST", "Istanbul" },
142 * This is the list of pattern characters for formatting dates
144 * This is the same as the English locale uses: era (G), year (y), month (M),
145 * month (d), hour from 1-12 (h), hour 0-23 (H), minute (m), second (s),
146 * millisecond (S), date of week (E), date of year (D),
147 * day of week in month (F), week in year (w), week in month (W), am/pm (a),
148 * hour from 1-24 (k), hour from 0-11 (K), time zone (z).
149 * Why would you use others?
151 private static final String localPatternChars = "GyMdhHmsSEDFwWakKz"; // Not a mistake!
154 * This is the DateFormat.SHORT date format
156 private static final String shortDateFormat = "dd-MM-yy";
159 * This is the DateFormat.MEDIUM format
161 private static final String mediumDateFormat = "dd-MMM-yy";
164 * This is the DateFormat.LONG format
166 private static final String longDateFormat = "dd MMMM yyyy";
169 * This is the DateFormat.FULL format
171 private static final String fullDateFormat = "EEEE dd MMMM yyyy";
174 * This is the DateFormat.DEFAULT format
176 private static final String defaultDateFormat = mediumDateFormat;
179 * This is the TimeFormat.SHORT format
181 private static final String shortTimeFormat = "HH:mm";
184 * This is the TimeFormat.MEDIUM format
186 private static final String mediumTimeFormat = "HH:mm:ss";
189 * This is the TimeFormat.LONG format
191 private static final String longTimeFormat = "HH:mm:ss";
194 * This is the TimeFormat.FULL format
196 private static final String fullTimeFormat = "HH:mm:ss z";
199 * This is the TimeFormat.DEFAULT format
201 private static final String defaultTimeFormat = shortTimeFormat;
204 * This is the currency symbol
206 private static final String currencySymbol = "fl";
209 * This is the international currency symbol.
211 private static final String intlCurrencySymbol = "NLG";
214 * This is the decimal point.
216 private static final String decimalSeparator = ",";
219 * This is the exponential symbol
221 private static final String exponential = "E";
224 * This is the char used for digits in format strings
226 private static final String digit = "#";
229 * This is the grouping separator symbols
231 private static final String groupingSeparator = ",";
234 * This is the symbols for infinity
236 private static final String infinity = "\u221e";
239 * This is the symbol for the not a number value
241 private static final String NaN = "\ufffd";
244 * This is the minus sign symbol.
246 private static final String minusSign = "-";
249 * This is the decimal separator in monetary values.
251 private static final String monetarySeparator = ",";
254 * This is the separator between positive and negative subpatterns.
256 private static final String patternSeparator = ";";
259 * This is the percent sign
261 private static final String percent = "%";
264 * This is the per mille sign
266 private static final String perMill = "\u2030";
269 * This is the character for zero.
271 private static final String zeroDigit = "0";
273 /*************************************************************************/
276 * This is the object array used to hold the keys and values
280 private static final Object[][] contents =
282 // For RuleBasedCollator
283 { "collation_rules", collation_rules },
285 { "word_breaks", word_breaks },
286 { "sentence_breaks", sentence_breaks },
287 { "line_breaks", line_breaks },
288 // For SimpleDateFormat/DateFormatSymbols
289 { "months", months },
290 { "shortMonths", shortMonths },
291 { "weekdays", weekdays },
292 { "shortWeekdays", shortWeekdays },
295 { "zoneStrings", zoneStrings },
296 { "localPatternChars", localPatternChars },
297 { "shortDateFormat", shortDateFormat },
298 { "mediumDateFormat", mediumDateFormat },
299 { "longDateFormat", longDateFormat },
300 { "fullDateFormat", fullDateFormat },
301 { "defaultDateFormat", defaultDateFormat },
302 { "shortTimeFormat", shortTimeFormat },
303 { "mediumTimeFormat", mediumTimeFormat },
304 { "longTimeFormat", longTimeFormat },
305 { "fullTimeFormat", fullTimeFormat },
306 { "defaultTimeFormat", defaultTimeFormat },
307 // For DecimalFormat/DecimalFormatSymbols
308 { "currencySymbol", currencySymbol },
309 { "intlCurrencySymbol", intlCurrencySymbol },
310 { "decimalSeparator", decimalSeparator },
312 { "exponential", exponential },
313 { "groupingSeparator", groupingSeparator },
314 { "infinity", infinity },
316 { "minusSign", minusSign },
317 { "monetarySeparator", monetarySeparator },
318 { "patternSeparator", patternSeparator },
319 { "percent", percent },
320 { "perMill", perMill },
321 { "zeroDigit", zeroDigit },
324 /*************************************************************************/
327 * This method returns the object array of key, value pairs containing
328 * the data for this bundle.
330 * @return The key, value information.
338 } // class LocaleInformation_nl