GregorianCalendar.java (setDefaultTime): New method.
* 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. From-SVN: r26654
This commit is contained in:
@@ -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 ()
|
||||
|
||||
Reference in New Issue
Block a user