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)
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
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
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;
42 import java.util.Calendar;
43 import java.util.Date;
46 * This class contains locale data for English.
48 public class LocaleInformation_en extends ListResourceBundle
52 * This area is used for defining object values
56 * This is the set of collation rules used by java.text.RuleBasedCollator
57 * to sort strings properly. See the documentation of that class for the
60 // FIXME: this is nowhere near complete.
61 // In particular we must mark accents as ignorable,
62 // and probably other things as well.
63 private static final String collation_rules =
64 "<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" +
65 "<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";
68 * This is the list of months, fully spelled out
70 private static final String[] months =
72 "January", "February", "March", "April", "May", "June",
73 "July", "August", "September", "October", "November", "December", null
77 * This is the list of abbreviated month names
79 private static final String[] shortMonths =
81 "Jan", "Feb", "Mar", "Apr", "May", "Jun",
82 "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null
86 * This is the list of weekdays, fully spelled out
88 private static final String[] weekdays =
90 null, "Sunday", "Monday", "Tuesday", "Wednesday",
91 "Thursday", "Friday", "Saturday"
95 * This is the list of abbreviated weekdays
97 private static final String[] shortWeekdays =
99 null, "Sun", "Mon", "Tue", "Wed",
104 * This is the list of AM/PM strings
106 private static final String[] ampms = { "AM", "PM" };
109 * This is the list of era identifiers
111 private static final String[] eras = { "BC", "AD" };
113 private static final String[][] zoneStrings =
115 { "GMT", "Greenwich Mean Time", "GMT",
116 /**/ "Greenwich Mean Time", "GMT", "GMT" },
117 { "PST", "Pacific Standard Time", "PST",
118 /**/ "Pacific Daylight Time", "PDT", "San Francisco" },
119 { "MST", "Mountain Standard Time", "MST",
120 /**/ "Mountain Daylight Time", "MDT", "Denver" },
121 { "PNT", "Mountain Standard Time", "MST",
122 /**/ "Mountain Standard Time", "MST", "Phoenix" },
123 { "CST", "Central Standard Time", "CST",
124 /**/ "Central Daylight Time", "CDT", "Chicago" },
125 { "EST", "Eastern Standard Time", "EST",
126 /**/ "Eastern Daylight Time", "EDT", "Boston" },
127 { "IET", "Eastern Standard Time", "EST",
128 /**/ "Eastern Standard Time", "EST", "Indianapolis" },
129 { "PRT", "Atlantic Standard Time", "AST",
130 /**/ "Atlantic Daylight Time", "ADT", "Halifax" },
131 { "CNT", "Newfoundland Standard Time", "NST",
132 /**/ "Newfoundland Daylight Time", "NDT", "St. Johns" },
133 { "ECT", "Central European Standard Time", "CET",
134 /**/ "Central European Daylight Time", "CEST", "Paris" },
135 { "CTT", "China Standard Time", "CST",
136 /**/ "China Standard Time", "CST", "Shanghai" },
137 { "JST", "Japan Standard Time", "JST",
138 /**/ "Japan Standard Time", "JST", "Tokyo" },
139 { "HST", "Hawaii Standard Time", "HST",
140 /**/ "Hawaii Standard Time", "HST", "Honolulu" },
141 { "AST", "Alaska Standard Time", "AKST",
142 /**/ "Alaska Daylight Time", "AKDT", "Anchorage" }
145 /*************************************************************************/
148 * This is the object array used to hold the keys and values
152 private static final Object[][] contents =
154 // For RuleBasedCollator
155 { "collation_rules", collation_rules },
157 // For SimpleDateFormat/DateFormatSymbols
158 { "months", months },
159 { "shortMonths", shortMonths },
160 { "weekdays", weekdays },
161 { "shortWeekdays", shortWeekdays },
164 { "localPatternChars", "GyMdkHmsSEDFwWahKz" },
165 { "zoneStrings", zoneStrings },
167 { "shortDateFormat", "M/d/yy" }, // Java's Y2K bug.
168 { "mediumDateFormat", "d-MMM-yy" },
169 { "longDateFormat", "MMMM d, yyyy" },
170 { "fullDateFormat", "EEEE MMMM d, yyyy G" },
171 { "defaultDateFormat", "d-MMMM-yy" },
172 { "shortTimeFormat", "h:mm a" },
173 { "mediumTimeFormat", "h:mm:ss a" },
174 { "longTimeFormat", "h:mm:ss a z" },
175 { "fullTimeFormat", "h:mm:ss;S 'o''clock' a z" },
176 { "defaultTimeFormat", "h:mm:ss a" },
178 // For DecimalFormat/DecimalFormatSymbols
179 { "decimalSeparator", "." },
181 { "exponential", "E" },
182 { "groupingSeparator", "," },
183 { "infinity", "\u221e" },
185 { "minusSign", "-" },
186 { "monetarySeparator", "." },
187 { "patternSeparator", ";" },
189 { "perMill", "\u2030" },
190 { "zeroDigit", "0" },
193 { "numberFormat", "#,##0.###" },
194 { "percentFormat", "#,##0%" },
197 /*************************************************************************/
200 * This method returns the object array of key, value pairs containing
201 * the data for this bundle.
203 * @return The key, value information.
205 public Object[][] getContents ()