Frames | No Frames |
1: /* LocaleInformation_nl.java -- Dutch locale data 2: Copyright (C) 1999, 2001 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., 51 Franklin Street, Fifth Floor, Boston, MA 19: 02110-1301 USA. 20: 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. 25: 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. */ 37: 38: 39: package gnu.java.locale; 40: 41: import java.util.ListResourceBundle; 42: 43: /** 44: * This class contains locale data for the Dutch locale 45: */ 46: 47: public class LocaleInformation_nl extends ListResourceBundle 48: { 49: 50: /* 51: * This area is used for defining object values 52: */ 53: 54: /** 55: * This is the set of collation rules used by java.text.RuleBasedCollator 56: * to sort strings properly. See the documentation of that class for the 57: * proper format. 58: * <p> 59: * This is the same rule as used in the English locale. 60: */ 61: private static final String collation_rules = 62: "<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" + 63: "<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"; 64: 65: /** 66: * This is the list of months, fully spelled out 67: */ 68: private static final String[] months = { "januari", "februari", "maart", 69: "april", "mei", "juni", "juli", "augustus", "september", "october", 70: "november", "december", null }; 71: 72: /** 73: * This is the list of abbreviated month names 74: */ 75: private static final String[] shortMonths = { "jan", "feb", "mrt", "apr", "mei", 76: "jun", "jul", "aug", "sep", "oct", "nov", "dec", null }; 77: 78: /** 79: * This is the list of weekdays, fully spelled out 80: */ 81: private static final String[] weekdays = { null, "zondag", "maandag", "dinsdag", 82: "woensdag", "donderdag", "vrijdag", "zaterdag" }; 83: 84: /** 85: * This is the list of abbreviated weekdays 86: */ 87: private static final String[] shortWeekdays = { null, "zo", "ma", "di", "wo", 88: "do", "vr", "za" }; 89: 90: /** 91: * This is the list of AM/PM strings 92: * <p> 93: * Is there a real equivalent in Dutch? "Voormiddag"/"Namiddag"? 94: * Just using the Latin names for now. 95: */ 96: private static final String[] ampms = { "AM", "PM" }; 97: 98: /** 99: * This is the list of era identifiers 100: * <p> 101: * Is there a real equivalent in Dutch? "voor Christus"/"na Christus"? 102: * Just use the Latin/English names for now. 103: */ 104: private static final String[] eras = { "BC", "AD" }; 105: 106: /** 107: * This is the list of timezone strings. The JDK appears to include a 108: * city name as the sixth element. 109: * XXX - TODO - FIXME - Which timezones should be included here and how are 110: * they called? 111: */ 112: private static final String[][] zoneStrings = 113: { 114: // European time zones. The city names are a little bit random. 115: { "WET", "West Europese Tijd", "WET", "West Europese Zomertijd", "WEST", "London" }, 116: { "CET", "Centraal Europese Tijd", "CET", "Centraal Europese Zomertijd", "CEST", "Amsterdam" }, 117: { "EET", "Oost Europese Tijd", "EET", "Oost Europese Zomertijd", "EEST", "Istanbul" }, 118: }; 119: 120: /** 121: * This is the list of pattern characters for formatting dates 122: * <p> 123: * This is the same as the English locale uses: era (G), year (y), month (M), 124: * month (d), hour from 1-12 (h), hour 0-23 (H), minute (m), second (s), 125: * millisecond (S), date of week (E), date of year (D), 126: * day of week in month (F), week in year (w), week in month (W), am/pm (a), 127: * hour from 1-24 (k), hour from 0-11 (K), time zone (z). 128: * Why would you use others? 129: */ 130: private static final String localPatternChars = "GyMdhHmsSEDFwWakKz"; // Not a mistake! 131: 132: /** 133: * This is the DateFormat.SHORT date format 134: */ 135: private static final String shortDateFormat = "dd-MM-yy"; 136: 137: /** 138: * This is the DateFormat.MEDIUM format 139: */ 140: private static final String mediumDateFormat = "dd-MMM-yy"; 141: 142: /** 143: * This is the DateFormat.LONG format 144: */ 145: private static final String longDateFormat = "dd MMMM yyyy"; 146: 147: /** 148: * This is the DateFormat.FULL format 149: */ 150: private static final String fullDateFormat = "EEEE dd MMMM yyyy"; 151: 152: /** 153: * This is the DateFormat.DEFAULT format 154: */ 155: private static final String defaultDateFormat = mediumDateFormat; 156: 157: /** 158: * This is the TimeFormat.SHORT format 159: */ 160: private static final String shortTimeFormat = "HH:mm"; 161: 162: /** 163: * This is the TimeFormat.MEDIUM format 164: */ 165: private static final String mediumTimeFormat = "HH:mm:ss"; 166: 167: /** 168: * This is the TimeFormat.LONG format 169: */ 170: private static final String longTimeFormat = "HH:mm:ss"; 171: 172: /** 173: * This is the TimeFormat.FULL format 174: */ 175: private static final String fullTimeFormat = "HH:mm:ss z"; 176: 177: /** 178: * This is the TimeFormat.DEFAULT format 179: */ 180: private static final String defaultTimeFormat = shortTimeFormat; 181: 182: /** 183: * This is the currency symbol 184: */ 185: private static final String currencySymbol = "fl"; 186: 187: /** 188: * This is the international currency symbol. 189: */ 190: private static final String intlCurrencySymbol = "NLG"; 191: 192: /** 193: * This is the decimal point. 194: */ 195: private static final String decimalSeparator = ","; 196: 197: /** 198: * This is the exponential symbol 199: */ 200: private static final String exponential = "E"; 201: 202: /** 203: * This is the char used for digits in format strings 204: */ 205: private static final String digit = "#"; 206: 207: /** 208: * This is the grouping separator symbols 209: */ 210: private static final String groupingSeparator = ","; 211: 212: /** 213: * This is the symbols for infinity 214: */ 215: private static final String infinity = "\u221e"; 216: 217: /** 218: * This is the symbol for the not a number value 219: */ 220: private static final String NaN = "\ufffd"; 221: 222: /** 223: * This is the minus sign symbol. 224: */ 225: private static final String minusSign = "-"; 226: 227: /** 228: * This is the decimal separator in monetary values. 229: */ 230: private static final String monetarySeparator = ","; 231: 232: /** 233: * This is the separator between positive and negative subpatterns. 234: */ 235: private static final String patternSeparator = ";"; 236: 237: /** 238: * This is the percent sign 239: */ 240: private static final String percent = "%"; 241: 242: /** 243: * This is the per mille sign 244: */ 245: private static final String perMill = "\u2030"; 246: 247: /** 248: * This is the character for zero. 249: */ 250: private static final String zeroDigit = "0"; 251: 252: /*************************************************************************/ 253: 254: /** 255: * This is the object array used to hold the keys and values 256: * for this bundle 257: */ 258: 259: private static final Object[][] contents = 260: { 261: // For RuleBasedCollator 262: { "collation_rules", collation_rules }, 263: // For SimpleDateFormat/DateFormatSymbols 264: { "months", months }, 265: { "shortMonths", shortMonths }, 266: { "weekdays", weekdays }, 267: { "shortWeekdays", shortWeekdays }, 268: { "ampms", ampms }, 269: { "eras", eras }, 270: { "zoneStrings", zoneStrings }, 271: { "localPatternChars", localPatternChars }, 272: { "shortDateFormat", shortDateFormat }, 273: { "mediumDateFormat", mediumDateFormat }, 274: { "longDateFormat", longDateFormat }, 275: { "fullDateFormat", fullDateFormat }, 276: { "defaultDateFormat", defaultDateFormat }, 277: { "shortTimeFormat", shortTimeFormat }, 278: { "mediumTimeFormat", mediumTimeFormat }, 279: { "longTimeFormat", longTimeFormat }, 280: { "fullTimeFormat", fullTimeFormat }, 281: { "defaultTimeFormat", defaultTimeFormat }, 282: // For DecimalFormat/DecimalFormatSymbols 283: { "currencySymbol", currencySymbol }, 284: { "intlCurrencySymbol", intlCurrencySymbol }, 285: { "decimalSeparator", decimalSeparator }, 286: { "digit", digit }, 287: { "exponential", exponential }, 288: { "groupingSeparator", groupingSeparator }, 289: { "infinity", infinity }, 290: { "NaN", NaN }, 291: { "minusSign", minusSign }, 292: { "monetarySeparator", monetarySeparator }, 293: { "patternSeparator", patternSeparator }, 294: { "percent", percent }, 295: { "perMill", perMill }, 296: { "zeroDigit", zeroDigit }, 297: }; 298: 299: /*************************************************************************/ 300: 301: /** 302: * This method returns the object array of key, value pairs containing 303: * the data for this bundle. 304: * 305: * @return The key, value information. 306: */ 307: public Object[][] 308: getContents() 309: { 310: return(contents); 311: } 312: 313: } // class LocaleInformation_nl