aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/gcj/text/LocaleData_en.java
diff options
context:
space:
mode:
authorTom Tromey <tromey@gcc.gnu.org>1999-04-07 14:42:40 +0000
committerTom Tromey <tromey@gcc.gnu.org>1999-04-07 14:42:40 +0000
commitee9dd3721be68b9fa63dea9aa5a1d86e66958cde (patch)
treed96801a16fdf03a5682ef98730fe333a46eef944 /libjava/gnu/gcj/text/LocaleData_en.java
parent140fa895c6b859f827fc4437b91775a82cd105fb (diff)
downloadgcc-ee9dd3721be68b9fa63dea9aa5a1d86e66958cde.zip
gcc-ee9dd3721be68b9fa63dea9aa5a1d86e66958cde.tar.gz
gcc-ee9dd3721be68b9fa63dea9aa5a1d86e66958cde.tar.bz2
Initial revision
From-SVN: r26263
Diffstat (limited to 'libjava/gnu/gcj/text/LocaleData_en.java')
-rw-r--r--libjava/gnu/gcj/text/LocaleData_en.java75
1 files changed, 75 insertions, 0 deletions
diff --git a/libjava/gnu/gcj/text/LocaleData_en.java b/libjava/gnu/gcj/text/LocaleData_en.java
new file mode 100644
index 0000000..df5a0de
--- /dev/null
+++ b/libjava/gnu/gcj/text/LocaleData_en.java
@@ -0,0 +1,75 @@
+// Generic English locale data for java.text.
+
+/* Copyright (C) 1999 Cygnus Solutions
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+package gnu.gcj.text;
+
+import java.util.ListResourceBundle;
+
+/**
+ * @author Tom Tromey <tromey@cygnus.com>
+ * @date March 4, 1999
+ */
+
+public final class LocaleData_en extends ListResourceBundle
+{
+ // These are for DateFormatSymbols.
+ static final String[] ampmsDefault = {"AM", "PM" };
+ static final String[] erasDefault = {"BC", "AD" };
+ static final String localPatternCharsDefault = "GyMdkHmsSEDFwWahKz";
+ static final String[] monthsDefault = {
+ "January", "February", "March", "April", "May", "June",
+ "July", "August", "September", "October", "November", "December", ""
+ };
+ static final String[] shortMonthsDefault = {
+ "Jan", "Feb", "Mar", "Apr", "May", "Jun",
+ "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""
+ };
+ static final String[] shortWeekdaysDefault = {
+ "", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
+ };
+ static final String[] weekdaysDefault = {
+ "", "Sunday", "Monday", "Tuesday",
+ "Wednesday", "Thursday", "Friday", "Saturday"
+ };
+
+ private static final Object[][] contents =
+ {
+ // These are for DecimalFormatSymbols.
+ { "decimalSeparator", "." },
+ { "digit", "#" },
+ { "exponential", "E" },
+ { "groupingSeparator", "," },
+ { "infinity", "\u221e" },
+ { "minusSign", "-" },
+ { "NaN", "\ufffd" },
+ { "patternSeparator", ";" },
+ { "percent", "%" },
+ { "perMill", "\u2030" },
+ { "zeroDigit", "0" },
+
+ // These are for NumberFormat.
+ { "numberFormat", "#,##0.###" },
+ { "percentFormat", "#,##0%" },
+
+ // These are for DateFormatSymbols.
+ { "ampm", ampmsDefault },
+ { "eras", erasDefault },
+ { "datePatternChars", localPatternCharsDefault },
+ { "months", monthsDefault },
+ { "shortMonths", shortMonthsDefault },
+ { "shortWeekdays", shortWeekdaysDefault },
+ { "weekdays", weekdaysDefault }
+ };
+
+ protected Object[][] getContents ()
+ {
+ return contents;
+ }
+}