summaryrefslogtreecommitdiffstats
path: root/libjava/gnu/gcj
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-26 15:34:44 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-26 15:34:44 +0000
commit46576e75be4e140c5682a5444405d67f9e761c5c (patch)
treea49553afea7d22437a2921c9b7915e6152eb4206 /libjava/gnu/gcj
parentc497beb153363d1cd97b728f3896c12e9ec4979f (diff)
downloadppe42-gcc-46576e75be4e140c5682a5444405d67f9e761c5c.tar.gz
ppe42-gcc-46576e75be4e140c5682a5444405d67f9e761c5c.zip
* java/util/GregorianCalendar.java (setDefaultTime): New method.
(GregorianCalendar): Use it in all constructors. * java/util/Calendar.java (Calendar): Changed argument name to `zone' to match code. * gnu/gcj/text/LocaleData_en.java: Added collatorRule element. * java/text/CollationKey.java: New file. * java/text/CollationElementIterator.java: New file. * java/text/Collator.java: New file. * java/text/RuleBasedCollator.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26654 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/gcj')
-rw-r--r--libjava/gnu/gcj/text/LocaleData_en.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/libjava/gnu/gcj/text/LocaleData_en.java b/libjava/gnu/gcj/text/LocaleData_en.java
index df5a0de8a40..1286e8af3ef 100644
--- a/libjava/gnu/gcj/text/LocaleData_en.java
+++ b/libjava/gnu/gcj/text/LocaleData_en.java
@@ -65,7 +65,13 @@ public final class LocaleData_en extends ListResourceBundle
{ "months", monthsDefault },
{ "shortMonths", shortMonthsDefault },
{ "shortWeekdays", shortWeekdaysDefault },
- { "weekdays", weekdaysDefault }
+ { "weekdays", weekdaysDefault },
+
+ // For RuleBasedCollator.
+ // FIXME: this is nowhere near complete.
+ // In particular we must mark accents as ignorable,
+ // and probably other things as well.
+ { "collatorRule", "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 < 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" }
};
protected Object[][] getContents ()
OpenPOWER on IntegriCloud