38 |
|
|
39 |
package gnu.java.locale; |
package gnu.java.locale; |
40 |
|
|
41 |
/** |
import java.util.ListResourceBundle; |
42 |
* This is the resource bundle for the default locale, which right now is |
|
43 |
* hardcoded to US English. |
public class LocaleInformation extends ListResourceBundle |
|
*/ |
|
|
public class LocaleInformation extends LocaleInformation_en |
|
44 |
{ |
{ |
45 |
|
private static final String[] ampms = { "AM", "PM" }; |
46 |
|
|
47 |
|
private static final String[][] zoneStrings = |
48 |
|
{ |
49 |
|
{ "GMT", "Greenwich Mean Time", "GMT", |
50 |
|
/**/ "Greenwich Mean Time", "GMT", "GMT" }, |
51 |
|
{ "PST", "Pacific Standard Time", "PST", |
52 |
|
/**/ "Pacific Daylight Time", "PDT", "San Francisco" }, |
53 |
|
{ "MST", "Mountain Standard Time", "MST", |
54 |
|
/**/ "Mountain Daylight Time", "MDT", "Denver" }, |
55 |
|
{ "PNT", "Mountain Standard Time", "MST", |
56 |
|
/**/ "Mountain Standard Time", "MST", "Phoenix" }, |
57 |
|
{ "CST", "Central Standard Time", "CST", |
58 |
|
/**/ "Central Daylight Time", "CDT", "Chicago" }, |
59 |
|
{ "EST", "Eastern Standard Time", "EST", |
60 |
|
/**/ "Eastern Daylight Time", "EDT", "Boston" }, |
61 |
|
{ "IET", "Eastern Standard Time", "EST", |
62 |
|
/**/ "Eastern Standard Time", "EST", "Indianapolis" }, |
63 |
|
{ "PRT", "Atlantic Standard Time", "AST", |
64 |
|
/**/ "Atlantic Daylight Time", "ADT", "Halifax" }, |
65 |
|
{ "CNT", "Newfoundland Standard Time", "NST", |
66 |
|
/**/ "Newfoundland Daylight Time", "NDT", "St. Johns" }, |
67 |
|
{ "ECT", "Central European Standard Time", "CET", |
68 |
|
/**/ "Central European Daylight Time", "CEST", "Paris" }, |
69 |
|
{ "CTT", "China Standard Time", "CST", |
70 |
|
/**/ "China Standard Time", "CST", "Shanghai" }, |
71 |
|
{ "JST", "Japan Standard Time", "JST", |
72 |
|
/**/ "Japan Standard Time", "JST", "Tokyo" }, |
73 |
|
{ "HST", "Hawaii Standard Time", "HST", |
74 |
|
/**/ "Hawaii Standard Time", "HST", "Honolulu" }, |
75 |
|
{ "AST", "Alaska Standard Time", "AKST", |
76 |
|
/**/ "Alaska Daylight Time", "AKDT", "Anchorage" } |
77 |
|
}; |
78 |
|
|
79 |
|
private static final class HashtableCurrencySymbols extends java.util.Hashtable |
80 |
|
{ |
81 |
|
public HashtableCurrencySymbols() |
82 |
|
{ |
83 |
|
super(); |
84 |
|
put("EUR", "\u20ac"); |
85 |
|
put("GBP", "\u00a3"); |
86 |
|
put("INR", "=0#Rs.|1#Re.|1<Rs."); |
87 |
|
put("ITL", "\u20A4"); |
88 |
|
put("JPY", "\u20A5"); |
89 |
|
put("USD", "US$"); |
90 |
|
} |
91 |
|
} |
92 |
|
|
93 |
|
private static final Object currencySymbols = new HashtableCurrencySymbols(); |
94 |
|
|
95 |
|
private static final Object[][] contents = |
96 |
|
{ |
97 |
|
{ "localPatternChars", "GyMdkHmsSEDFwWahKz" }, |
98 |
|
{ "currencySymbols", currencySymbols }, |
99 |
|
{ "decimalSeparator", "." }, |
100 |
|
{ "groupingSeparator", "," }, |
101 |
|
{ "patternSeparator", ";" }, |
102 |
|
{ "percent", "%" }, |
103 |
|
{ "zeroDigit", "0" }, |
104 |
|
{ "digit", "#" }, |
105 |
|
{ "minusSign", "-" }, |
106 |
|
{ "exponential", "E" }, |
107 |
|
{ "perMill", "\u2030" }, |
108 |
|
{ "infinity", "\u221e" }, |
109 |
|
{ "NaN", "\ufffd" }, |
110 |
|
{ "numberFormat", "#,##0.###;-#,##0.###" }, |
111 |
|
{ "percentFormat", "#,##0%" }, |
112 |
|
{ "shortDateFormat", "M/d/yy" }, |
113 |
|
{ "mediumDateFormat", "MMM d, yyyy" }, |
114 |
|
{ "longDateFormat", "MMMM d, yyyy" }, |
115 |
|
{ "fullDateFormat", "EEEE, MMMM d, yyyy" }, |
116 |
|
{ "shortTimeFormat", "h:mm a" }, |
117 |
|
{ "mediumTimeFormat", "h:mm:ss a" }, |
118 |
|
{ "longTimeFormat", "h:mm:ss a z" }, |
119 |
|
{ "fullTimeFormat", "h:mm:ss a z" }, |
120 |
|
{ "ampms", ampms }, |
121 |
|
{ "zoneStrings", zoneStrings }, |
122 |
|
}; |
123 |
|
|
124 |
|
public Object[][] getContents() { return contents; } |
125 |
} |
} |