40 |
|
|
41 |
package gnu.java.locale; |
package gnu.java.locale; |
42 |
|
|
43 |
|
import java.util.Enumeration; |
44 |
|
import java.util.Hashtable; |
45 |
|
import java.util.StringTokenizer; |
46 |
import java.util.ListResourceBundle; |
import java.util.ListResourceBundle; |
47 |
|
|
48 |
public class LocaleInformation_be extends ListResourceBundle |
public class LocaleInformation_be extends ListResourceBundle |
49 |
{ |
{ |
50 |
|
private static final String currenciesDisplayNameKeys = "BYB"; |
51 |
|
|
52 |
|
private static final String currenciesDisplayNameValues = "BYB"; |
53 |
|
|
54 |
|
private static final Hashtable currenciesDisplayName; |
55 |
|
static |
56 |
|
{ |
57 |
|
currenciesDisplayName = new Hashtable(); |
58 |
|
Enumeration keys = new StringTokenizer(currenciesDisplayNameKeys, "|"); |
59 |
|
Enumeration values = new StringTokenizer(currenciesDisplayNameValues, "|"); |
60 |
|
while (keys.hasMoreElements()) |
61 |
|
{ |
62 |
|
String key = (String) keys.nextElement(); |
63 |
|
String value = (String) values.nextElement(); |
64 |
|
currenciesDisplayName.put(key, value); |
65 |
|
} |
66 |
|
} |
67 |
|
|
68 |
|
private static final String currenciesSymbolKeys = "BYB"; |
69 |
|
|
70 |
|
private static final String currenciesSymbolValues = "\u0420\u0443\u0431"; |
71 |
|
|
72 |
|
private static final Hashtable currenciesSymbol; |
73 |
|
static |
74 |
|
{ |
75 |
|
currenciesSymbol = new Hashtable(); |
76 |
|
Enumeration keys = new StringTokenizer(currenciesSymbolKeys, "|"); |
77 |
|
Enumeration values = new StringTokenizer(currenciesSymbolValues, "|"); |
78 |
|
while (keys.hasMoreElements()) |
79 |
|
{ |
80 |
|
String key = (String) keys.nextElement(); |
81 |
|
String value = (String) values.nextElement(); |
82 |
|
currenciesSymbol.put(key, value); |
83 |
|
} |
84 |
|
} |
85 |
|
|
86 |
private static final String[] shortMonths = { |
private static final String[] shortMonths = { |
87 |
"\u0441\u0442\u0443", |
"\u0441\u0442\u0443", |
88 |
"\u043b\u044e\u0442", |
"\u043b\u044e\u0442", |
142 |
"\u043d.\u0435.", |
"\u043d.\u0435.", |
143 |
}; |
}; |
144 |
|
|
145 |
private static final class Hashtableterritories extends java.util.Hashtable |
private static final String territoriesKeys = "BY"; |
146 |
|
|
147 |
|
private static final String territoriesValues = "\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c"; |
148 |
|
|
149 |
|
private static final Hashtable territories; |
150 |
|
static |
151 |
{ |
{ |
152 |
public Hashtableterritories() |
territories = new Hashtable(); |
153 |
|
Enumeration keys = new StringTokenizer(territoriesKeys, "|"); |
154 |
|
Enumeration values = new StringTokenizer(territoriesValues, "|"); |
155 |
|
while (keys.hasMoreElements()) |
156 |
{ |
{ |
157 |
super(); |
String key = (String) keys.nextElement(); |
158 |
put("BY", "\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c"); |
String value = (String) values.nextElement(); |
159 |
|
territories.put(key, value); |
160 |
} |
} |
161 |
} |
} |
162 |
|
|
163 |
private static final Object territories = new Hashtableterritories(); |
private static final String languagesKeys = "be"; |
164 |
|
|
165 |
private static final class Hashtablelanguages extends java.util.Hashtable |
private static final String languagesValues = "\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0456"; |
166 |
|
|
167 |
|
private static final Hashtable languages; |
168 |
|
static |
169 |
{ |
{ |
170 |
public Hashtablelanguages() |
languages = new Hashtable(); |
171 |
|
Enumeration keys = new StringTokenizer(languagesKeys, "|"); |
172 |
|
Enumeration values = new StringTokenizer(languagesValues, "|"); |
173 |
|
while (keys.hasMoreElements()) |
174 |
{ |
{ |
175 |
super(); |
String key = (String) keys.nextElement(); |
176 |
put("be", "\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0456"); |
String value = (String) values.nextElement(); |
177 |
|
languages.put(key, value); |
178 |
} |
} |
179 |
} |
} |
180 |
|
|
|
private static final Object languages = new Hashtablelanguages(); |
|
|
|
|
181 |
private static final Object[][] contents = |
private static final Object[][] contents = |
182 |
{ |
{ |
183 |
{ "decimalSeparator", "," }, |
{ "decimalSeparator", "," }, |
184 |
{ "groupingSeparator", "\u00a0" }, |
{ "groupingSeparator", "\u00a0" }, |
185 |
{ "localPatternChars", "GanjkHmsSEDFwWxhKzAeugXZ" }, |
{ "localPatternChars", "GanjkHmsSEDFwWxhKzAeugXZ" }, |
186 |
|
{ "currenciesDisplayName", currenciesDisplayName }, |
187 |
|
{ "currenciesSymbol", currenciesSymbol }, |
188 |
{ "shortMonths", shortMonths }, |
{ "shortMonths", shortMonths }, |
189 |
{ "months", months }, |
{ "months", months }, |
190 |
{ "shortWeekdays", shortWeekdays }, |
{ "shortWeekdays", shortWeekdays }, |