Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git] / libjava / gnu / java / locale / LocaleInformation_en.java
blobdf258095c1be4d535abcaea78d215f98ad119ff9
1 /* LocaleInformation_en.java -- US English locale data
2 Copyright (C) 1998, 1999, 2001, 2002 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)
9 any later version.
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
19 02111-1307 USA.
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.
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. */
39 package gnu.java.locale;
41 import java.util.ListResourceBundle;
43 /**
44 * This class contains locale data for English.
46 public class LocaleInformation_en extends ListResourceBundle
50 * This area is used for defining object values
53 /**
54 * This is the set of collation rules used by java.text.RuleBasedCollator
55 * to sort strings properly. See the documentation of that class for the
56 * proper format.
58 // FIXME: this is nowhere near complete.
59 // In particular we must mark accents as ignorable,
60 // and probably other things as well.
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";
65 /**
66 * This is the list of months, fully spelled out
68 private static final String[] months =
70 "January", "February", "March", "April", "May", "June",
71 "July", "August", "September", "October", "November", "December", null
74 /**
75 * This is the list of abbreviated month names
77 private static final String[] shortMonths =
79 "Jan", "Feb", "Mar", "Apr", "May", "Jun",
80 "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null
83 /**
84 * This is the list of weekdays, fully spelled out
86 private static final String[] weekdays =
88 null, "Sunday", "Monday", "Tuesday", "Wednesday",
89 "Thursday", "Friday", "Saturday"
92 /**
93 * This is the list of abbreviated weekdays
95 private static final String[] shortWeekdays =
97 null, "Sun", "Mon", "Tue", "Wed",
98 "Thu", "Fri", "Sat"
102 * This is the list of AM/PM strings
104 private static final String[] ampms = { "AM", "PM" };
107 * This is the list of era identifiers
109 private static final String[] eras = { "BC", "AD" };
111 private static final String[][] zoneStrings =
113 { "GMT", "Greenwich Mean Time", "GMT",
114 /**/ "Greenwich Mean Time", "GMT", "GMT" },
115 { "PST", "Pacific Standard Time", "PST",
116 /**/ "Pacific Daylight Time", "PDT", "San Francisco" },
117 { "MST", "Mountain Standard Time", "MST",
118 /**/ "Mountain Daylight Time", "MDT", "Denver" },
119 { "PNT", "Mountain Standard Time", "MST",
120 /**/ "Mountain Standard Time", "MST", "Phoenix" },
121 { "CST", "Central Standard Time", "CST",
122 /**/ "Central Daylight Time", "CDT", "Chicago" },
123 { "EST", "Eastern Standard Time", "EST",
124 /**/ "Eastern Daylight Time", "EDT", "Boston" },
125 { "IET", "Eastern Standard Time", "EST",
126 /**/ "Eastern Standard Time", "EST", "Indianapolis" },
127 { "PRT", "Atlantic Standard Time", "AST",
128 /**/ "Atlantic Daylight Time", "ADT", "Halifax" },
129 { "CNT", "Newfoundland Standard Time", "NST",
130 /**/ "Newfoundland Daylight Time", "NDT", "St. Johns" },
131 { "ECT", "Central European Standard Time", "CET",
132 /**/ "Central European Daylight Time", "CEST", "Paris" },
133 { "CTT", "China Standard Time", "CST",
134 /**/ "China Standard Time", "CST", "Shanghai" },
135 { "JST", "Japan Standard Time", "JST",
136 /**/ "Japan Standard Time", "JST", "Tokyo" },
137 { "HST", "Hawaii Standard Time", "HST",
138 /**/ "Hawaii Standard Time", "HST", "Honolulu" },
139 { "AST", "Alaska Standard Time", "AKST",
140 /**/ "Alaska Daylight Time", "AKDT", "Anchorage" }
143 /*************************************************************************/
146 * This is the object array used to hold the keys and values
147 * for this bundle
150 private static final Object[][] contents =
152 // For RuleBasedCollator
153 { "collation_rules", collation_rules },
155 // For SimpleDateFormat/DateFormatSymbols
156 { "months", months },
157 { "shortMonths", shortMonths },
158 { "weekdays", weekdays },
159 { "shortWeekdays", shortWeekdays },
160 { "ampms", ampms },
161 { "eras", eras },
162 { "localPatternChars", "GyMdkHmsSEDFwWahKzYeugAZ" },
163 { "zoneStrings", zoneStrings },
165 { "shortDateFormat", "M/d/yy" }, // Java's Y2K bug.
166 { "mediumDateFormat", "d-MMM-yy" },
167 { "longDateFormat", "MMMM d, yyyy" },
168 { "fullDateFormat", "EEEE MMMM d, yyyy G" },
169 { "defaultDateFormat", "d-MMMM-yy" },
170 { "shortTimeFormat", "h:mm a" },
171 { "mediumTimeFormat", "h:mm:ss a" },
172 { "longTimeFormat", "h:mm:ss a z" },
173 { "fullTimeFormat", "h:mm:ss;S 'o''clock' a z" },
174 { "defaultTimeFormat", "h:mm:ss a" },
176 // For DecimalFormat/DecimalFormatSymbols
177 { "decimalSeparator", "." },
178 { "digit", "#" },
179 { "exponential", "E" },
180 { "groupingSeparator", "," },
181 { "infinity", "\u221e" },
182 { "NaN", "\ufffd" },
183 { "minusSign", "-" },
184 { "monetarySeparator", "." },
185 { "patternSeparator", ";" },
186 { "percent", "%" },
187 { "perMill", "\u2030" },
188 { "zeroDigit", "0" },
190 // For NumberFormat.
191 { "numberFormat", "#,##0.###" },
192 { "percentFormat", "#,##0%" },
195 /*************************************************************************/
198 * This method returns the object array of key, value pairs containing
199 * the data for this bundle.
201 * @return The key, value information.
203 public Object[][] getContents ()
205 return contents;