44 |
|
|
45 |
public class LocaleInformation_en extends ListResourceBundle |
public class LocaleInformation_en extends ListResourceBundle |
46 |
{ |
{ |
|
// FIXME: this is nowhere near complete. |
|
|
// In particular we must mark accents as ignorable, |
|
|
// and probably other things as well. |
|
47 |
private static final String collation_rules = |
private static final String collation_rules = |
48 |
"<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" + |
"<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" + |
49 |
"<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"; |
"<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"; |
50 |
|
|
51 |
private static final String[] months = |
private static final String[] shortMonths = { |
52 |
{ |
"Jan", |
53 |
"January", "February", "March", "April", "May", "June", |
"Feb", |
54 |
"July", "August", "September", "October", "November", "December", null |
"Mar", |
55 |
|
"Apr", |
56 |
|
"May", |
57 |
|
"Jun", |
58 |
|
"Jul", |
59 |
|
"Aug", |
60 |
|
"Sep", |
61 |
|
"Oct", |
62 |
|
"Nov", |
63 |
|
"Dec", |
64 |
|
null, |
65 |
}; |
}; |
66 |
|
|
67 |
private static final String[] shortMonths = |
private static final String[] months = { |
68 |
{ |
"January", |
69 |
"Jan", "Feb", "Mar", "Apr", "May", "Jun", |
"February", |
70 |
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null |
"March", |
71 |
|
"April", |
72 |
|
"May", |
73 |
|
"June", |
74 |
|
"July", |
75 |
|
"August", |
76 |
|
"September", |
77 |
|
"October", |
78 |
|
"November", |
79 |
|
"December", |
80 |
|
null, |
81 |
}; |
}; |
82 |
|
|
83 |
private static final String[] weekdays = |
private static final String[] shortWeekdays = { |
84 |
{ |
null, |
85 |
null, "Sunday", "Monday", "Tuesday", "Wednesday", |
"Sun", |
86 |
"Thursday", "Friday", "Saturday" |
"Mon", |
87 |
|
"Tue", |
88 |
|
"Wed", |
89 |
|
"Thu", |
90 |
|
"Fri", |
91 |
|
"Sat", |
92 |
}; |
}; |
93 |
|
|
94 |
private static final String[] shortWeekdays = |
private static final String[] weekdays = { |
95 |
{ |
null, |
96 |
null, "Sun", "Mon", "Tue", "Wed", |
"Sunday", |
97 |
"Thu", "Fri", "Sat" |
"Monday", |
98 |
|
"Tuesday", |
99 |
|
"Wednesday", |
100 |
|
"Thursday", |
101 |
|
"Friday", |
102 |
|
"Saturday", |
103 |
}; |
}; |
104 |
|
|
105 |
private static final String[] ampms = { "AM", "PM" }; |
private static final String[] ampms = { "AM", "PM" }; |
106 |
|
|
107 |
private static final String[] eras = { "BC", "AD" }; |
private static final String[] eras = { |
108 |
|
"BC", |
109 |
|
"AD" |
110 |
|
}; |
111 |
|
|
112 |
private static final String[][] zoneStrings = |
private static final String[][] zoneStrings = |
113 |
{ |
{ |
141 |
/**/ "Alaska Daylight Time", "AKDT", "Anchorage" } |
/**/ "Alaska Daylight Time", "AKDT", "Anchorage" } |
142 |
}; |
}; |
143 |
|
|
144 |
/*************************************************************************/ |
private static final class Hashtableterritories extends java.util.Hashtable |
145 |
|
{ |
146 |
|
public Hashtableterritories() |
147 |
|
{ |
148 |
|
super(); |
149 |
|
put("TL", "Timor-Leste"); |
150 |
|
put("TK", "Tokelau"); |
151 |
|
put("TJ", "Tajikistan"); |
152 |
|
put("TH", "Thailand"); |
153 |
|
put("TG", "Togo"); |
154 |
|
put("TF", "French Southern Territories"); |
155 |
|
put("GY", "Guyana"); |
156 |
|
put("TD", "Chad"); |
157 |
|
put("TC", "Turks and Caicos Islands"); |
158 |
|
put("GW", "Guinea-Bissau"); |
159 |
|
put("GU", "Guam"); |
160 |
|
put("GT", "Guatemala"); |
161 |
|
put("GS", "South Georgia and the South Sandwich Islands"); |
162 |
|
put("GR", "Greece"); |
163 |
|
put("GQ", "Equatorial Guinea"); |
164 |
|
put("GP", "Guadeloupe"); |
165 |
|
put("SZ", "Swaziland"); |
166 |
|
put("SY", "Syria"); |
167 |
|
put("GN", "Guinea"); |
168 |
|
put("GM", "Gambia"); |
169 |
|
put("GL", "Greenland"); |
170 |
|
put("SV", "El Salvador"); |
171 |
|
put("ST", "Sao Tome and Principe"); |
172 |
|
put("GI", "Gibraltar"); |
173 |
|
put("GH", "Ghana"); |
174 |
|
put("SR", "Suriname"); |
175 |
|
put("GF", "French Guiana"); |
176 |
|
put("SP", "Serbia"); |
177 |
|
put("GE", "Georgia"); |
178 |
|
put("SO", "Somalia"); |
179 |
|
put("GD", "Grenada"); |
180 |
|
put("SN", "Senegal"); |
181 |
|
put("SM", "San Marino"); |
182 |
|
put("GB", "United Kingdom"); |
183 |
|
put("SL", "Sierra Leone"); |
184 |
|
put("GA", "Gabon"); |
185 |
|
put("SK", "Slovakia"); |
186 |
|
put("SJ", "Svalbard and Jan Mayen"); |
187 |
|
put("SI", "Slovenia"); |
188 |
|
put("SH", "Saint Helena"); |
189 |
|
put("SG", "Singapore"); |
190 |
|
put("SE", "Sweden"); |
191 |
|
put("SD", "Sudan"); |
192 |
|
put("SC", "Seychelles"); |
193 |
|
put("SB", "Solomon Islands"); |
194 |
|
put("SA", "Saudi Arabia"); |
195 |
|
put("FR", "France"); |
196 |
|
put("FO", "Faroe Islands"); |
197 |
|
put("FM", "Micronesia"); |
198 |
|
put("RW", "Rwanda"); |
199 |
|
put("FK", "Falkland Islands"); |
200 |
|
put("RU", "Russia"); |
201 |
|
put("FJ", "Fiji"); |
202 |
|
put("FI", "Finland"); |
203 |
|
put("RO", "Romania"); |
204 |
|
put("RE", "R\u00e9union"); |
205 |
|
put("ET", "Ethiopia"); |
206 |
|
put("ES", "Spain"); |
207 |
|
put("ER", "Eritrea"); |
208 |
|
put("EH", "Western Sahara"); |
209 |
|
put("EG", "Egypt"); |
210 |
|
put("EE", "Estonia"); |
211 |
|
put("EC", "Ecuador"); |
212 |
|
put("DZ", "Algeria"); |
213 |
|
put("QA", "Qatar"); |
214 |
|
put("DO", "Dominican Republic"); |
215 |
|
put("PY", "Paraguay"); |
216 |
|
put("DM", "Dominica"); |
217 |
|
put("PW", "Palau"); |
218 |
|
put("DK", "Denmark"); |
219 |
|
put("DJ", "Djibouti"); |
220 |
|
put("PT", "Portugal"); |
221 |
|
put("PS", "Palestinian Territory"); |
222 |
|
put("PR", "Puerto Rico"); |
223 |
|
put("DE", "Germany"); |
224 |
|
put("PN", "Pitcairn"); |
225 |
|
put("PM", "Saint Pierre and Miquelon"); |
226 |
|
put("PL", "Poland"); |
227 |
|
put("PK", "Pakistan"); |
228 |
|
put("PH", "Philippines"); |
229 |
|
put("PG", "Papua New Guinea"); |
230 |
|
put("PF", "French Polynesia"); |
231 |
|
put("CZ", "Czech Republic"); |
232 |
|
put("PE", "Peru"); |
233 |
|
put("CY", "Cyprus"); |
234 |
|
put("CX", "Christmas Island"); |
235 |
|
put("CV", "Cape Verde"); |
236 |
|
put("PA", "Panama"); |
237 |
|
put("CU", "Cuba"); |
238 |
|
put("CR", "Costa Rica"); |
239 |
|
put("CO", "Colombia"); |
240 |
|
put("CN", "China"); |
241 |
|
put("CM", "Cameroon"); |
242 |
|
put("CL", "Chile"); |
243 |
|
put("CK", "Cook Islands"); |
244 |
|
put("CI", "C\u00f4te d\u2019Ivoire"); |
245 |
|
put("CH", "Switzerland"); |
246 |
|
put("CG", "Congo"); |
247 |
|
put("CF", "Central African Republic"); |
248 |
|
put("CD", "Democratic Republic of the Congo"); |
249 |
|
put("CC", "Cocos (Keeling) Islands"); |
250 |
|
put("OM", "Oman"); |
251 |
|
put("CA", "Canada"); |
252 |
|
put("BZ", "Belize"); |
253 |
|
put("BY", "Belarus"); |
254 |
|
put("BW", "Botswana"); |
255 |
|
put("BV", "Bouvet Island"); |
256 |
|
put("BT", "Bhutan"); |
257 |
|
put("BS", "Bahamas"); |
258 |
|
put("BR", "Brazil"); |
259 |
|
put("NZ", "New Zealand"); |
260 |
|
put("BO", "Bolivia"); |
261 |
|
put("BN", "Brunei"); |
262 |
|
put("BM", "Bermuda"); |
263 |
|
put("NU", "Niue"); |
264 |
|
put("BJ", "Benin"); |
265 |
|
put("BI", "Burundi"); |
266 |
|
put("BH", "Bahrain"); |
267 |
|
put("NR", "Nauru"); |
268 |
|
put("BG", "Bulgaria"); |
269 |
|
put("BF", "Burkina Faso"); |
270 |
|
put("NP", "Nepal"); |
271 |
|
put("BE", "Belgium"); |
272 |
|
put("NO", "Norway"); |
273 |
|
put("BD", "Bangladesh"); |
274 |
|
put("BB", "Barbados"); |
275 |
|
put("ZW", "Zimbabwe"); |
276 |
|
put("NL", "Netherlands"); |
277 |
|
put("BA", "Bosnia and Herzegovina"); |
278 |
|
put("NI", "Nicaragua"); |
279 |
|
put("NG", "Nigeria"); |
280 |
|
put("NF", "Norfolk Island"); |
281 |
|
put("AZ", "Azerbaijan"); |
282 |
|
put("NE", "Niger"); |
283 |
|
put("NC", "New Caledonia"); |
284 |
|
put("AW", "Aruba"); |
285 |
|
put("ZM", "Zambia"); |
286 |
|
put("NA", "Namibia"); |
287 |
|
put("AU", "Australia"); |
288 |
|
put("AT", "Austria"); |
289 |
|
put("AS", "American Samoa"); |
290 |
|
put("AR", "Argentina"); |
291 |
|
put("AQ", "Antarctica"); |
292 |
|
put("MZ", "Mozambique"); |
293 |
|
put("AO", "Angola"); |
294 |
|
put("MY", "Malaysia"); |
295 |
|
put("AN", "Netherlands Antilles"); |
296 |
|
put("MX", "Mexico"); |
297 |
|
put("AM", "Armenia"); |
298 |
|
put("MW", "Malawi"); |
299 |
|
put("AL", "Albania"); |
300 |
|
put("MV", "Maldives"); |
301 |
|
put("ZA", "South Africa"); |
302 |
|
put("MU", "Mauritius"); |
303 |
|
put("MT", "Malta"); |
304 |
|
put("AI", "Anguilla"); |
305 |
|
put("MS", "Montserrat"); |
306 |
|
put("MR", "Mauritania"); |
307 |
|
put("AG", "Antigua and Barbuda"); |
308 |
|
put("MQ", "Martinique"); |
309 |
|
put("AF", "Afghanistan"); |
310 |
|
put("MP", "Northern Mariana Islands"); |
311 |
|
put("AE", "United Arab Emirates"); |
312 |
|
put("MO", "Macao S.A.R., China"); |
313 |
|
put("AD", "Andorra"); |
314 |
|
put("MN", "Mongolia"); |
315 |
|
put("MM", "Myanmar"); |
316 |
|
put("ML", "Mali"); |
317 |
|
put("MK", "Macedonia"); |
318 |
|
put("YU", "Serbia and Montenegro"); |
319 |
|
put("YT", "Mayotte"); |
320 |
|
put("MH", "Marshall Islands"); |
321 |
|
put("MG", "Madagascar"); |
322 |
|
put("MD", "Moldova"); |
323 |
|
put("MC", "Monaco"); |
324 |
|
put("MA", "Morocco"); |
325 |
|
put("YE", "Yemen"); |
326 |
|
put("LY", "Libya"); |
327 |
|
put("LV", "Latvia"); |
328 |
|
put("LU", "Luxembourg"); |
329 |
|
put("LT", "Lithuania"); |
330 |
|
put("LS", "Lesotho"); |
331 |
|
put("LR", "Liberia"); |
332 |
|
put("LK", "Sri Lanka"); |
333 |
|
put("LI", "Liechtenstein"); |
334 |
|
put("LC", "Saint Lucia"); |
335 |
|
put("LB", "Lebanon"); |
336 |
|
put("LA", "Laos"); |
337 |
|
put("KZ", "Kazakhstan"); |
338 |
|
put("KY", "Cayman Islands"); |
339 |
|
put("KW", "Kuwait"); |
340 |
|
put("KR", "South Korea"); |
341 |
|
put("KP", "North Korea"); |
342 |
|
put("KN", "Saint Kitts and Nevis"); |
343 |
|
put("KM", "Comoros"); |
344 |
|
put("KI", "Kiribati"); |
345 |
|
put("WS", "Samoa"); |
346 |
|
put("KH", "Cambodia"); |
347 |
|
put("KG", "Kyrgyzstan"); |
348 |
|
put("KE", "Kenya"); |
349 |
|
put("WF", "Wallis and Futuna"); |
350 |
|
put("JP", "Japan"); |
351 |
|
put("JO", "Jordan"); |
352 |
|
put("JM", "Jamaica"); |
353 |
|
put("VU", "Vanuatu"); |
354 |
|
put("VN", "Vietnam"); |
355 |
|
put("VI", "U.S. Virgin Islands"); |
356 |
|
put("VG", "British Virgin Islands"); |
357 |
|
put("VE", "Venezuela"); |
358 |
|
put("VC", "Saint Vincent and the Grenadines"); |
359 |
|
put("VA", "Vatican"); |
360 |
|
put("IT", "Italy"); |
361 |
|
put("IS", "Iceland"); |
362 |
|
put("IR", "Iran"); |
363 |
|
put("IQ", "Iraq"); |
364 |
|
put("UZ", "Uzbekistan"); |
365 |
|
put("IO", "British Indian Ocean Territory"); |
366 |
|
put("UY", "Uruguay"); |
367 |
|
put("IN", "India"); |
368 |
|
put("IL", "Israel"); |
369 |
|
put("US", "United States"); |
370 |
|
put("IE", "Ireland"); |
371 |
|
put("ID", "Indonesia"); |
372 |
|
put("UM", "United States Minor Outlying Islands"); |
373 |
|
put("UG", "Uganda"); |
374 |
|
put("UA", "Ukraine"); |
375 |
|
put("HU", "Hungary"); |
376 |
|
put("HT", "Haiti"); |
377 |
|
put("HR", "Croatia"); |
378 |
|
put("TZ", "Tanzania"); |
379 |
|
put("HN", "Honduras"); |
380 |
|
put("HM", "Heard Island and McDonald Islands"); |
381 |
|
put("TW", "Taiwan"); |
382 |
|
put("TV", "Tuvalu"); |
383 |
|
put("HK", "Hong Kong S.A.R., China"); |
384 |
|
put("TT", "Trinidad and Tobago"); |
385 |
|
put("TR", "Turkey"); |
386 |
|
put("TO", "Tonga"); |
387 |
|
put("TN", "Tunisia"); |
388 |
|
put("TM", "Turkmenistan"); |
389 |
|
} |
390 |
|
} |
391 |
|
|
392 |
|
private static final Object territories = new Hashtableterritories(); |
393 |
|
|
394 |
private static final Object[][] contents = |
private static final Object[][] contents = |
395 |
{ |
{ |
396 |
{ "collation_rules", collation_rules }, |
{ "collation_rules", collation_rules }, |
397 |
|
{ "currencyFormat", "\u00a4#,##0.00;-\u00a4#,##0.00" }, |
|
{ "months", months }, |
|
398 |
{ "shortMonths", shortMonths }, |
{ "shortMonths", shortMonths }, |
399 |
{ "weekdays", weekdays }, |
{ "months", months }, |
400 |
{ "shortWeekdays", shortWeekdays }, |
{ "shortWeekdays", shortWeekdays }, |
401 |
|
{ "weekdays", weekdays }, |
402 |
{ "ampms", ampms }, |
{ "ampms", ampms }, |
403 |
{ "eras", eras }, |
{ "eras", eras }, |
404 |
|
{ "shortDateFormat", "M/d/yy" }, |
405 |
|
{ "mediumDateFormat", "MMM d, yyyy" }, |
406 |
{ "localPatternChars", "GyMdkHmsSEDFwWahKz" }, |
{ "localPatternChars", "GyMdkHmsSEDFwWahKz" }, |
|
{ "zoneStrings", zoneStrings }, |
|
|
|
|
|
{ "shortDateFormat", "M/d/yy" }, // Java's Y2K bug. |
|
|
{ "mediumDateFormat", "d-MMM-yy" }, |
|
407 |
{ "longDateFormat", "MMMM d, yyyy" }, |
{ "longDateFormat", "MMMM d, yyyy" }, |
408 |
{ "fullDateFormat", "EEEE MMMM d, yyyy G" }, |
{ "fullDateFormat", "EEEE, MMMM d, yyyy" }, |
|
{ "defaultDateFormat", "d-MMMM-yy" }, |
|
409 |
{ "shortTimeFormat", "h:mm a" }, |
{ "shortTimeFormat", "h:mm a" }, |
410 |
{ "mediumTimeFormat", "h:mm:ss a" }, |
{ "mediumTimeFormat", "h:mm:ss a" }, |
411 |
{ "longTimeFormat", "h:mm:ss a z" }, |
{ "longTimeFormat", "h:mm:ss a z" }, |
412 |
{ "fullTimeFormat", "h:mm:ss;S 'o''clock' a z" }, |
{ "fullTimeFormat", "h:mm:ss a z" }, |
413 |
{ "defaultTimeFormat", "h:mm:ss a" }, |
{ "zoneStrings", zoneStrings }, |
|
|
|
414 |
{ "decimalSeparator", "." }, |
{ "decimalSeparator", "." }, |
415 |
{ "digit", "#" }, |
{ "digit", "#" }, |
416 |
{ "exponential", "E" }, |
{ "exponential", "E" }, |
423 |
{ "percent", "%" }, |
{ "percent", "%" }, |
424 |
{ "perMill", "\u2030" }, |
{ "perMill", "\u2030" }, |
425 |
{ "zeroDigit", "0" }, |
{ "zeroDigit", "0" }, |
|
|
|
|
// For NumberFormat. |
|
426 |
{ "numberFormat", "#,##0.###" }, |
{ "numberFormat", "#,##0.###" }, |
427 |
{ "percentFormat", "#,##0%" }, |
{ "percentFormat", "#,##0%" }, |
428 |
|
{ "territories", territories } |
429 |
}; |
}; |
430 |
|
|
431 |
public Object[][] getContents() { return contents; } |
public Object[][] getContents() { return contents; } |