summaryrefslogtreecommitdiffstats
path: root/libjava/java/text/CollationElementIterator.java
Commit message (Collapse)AuthorAgeFilesLines
* 2003-06-19 Michael Koch <konqueror@gmx.de>mkoch2003-06-191-2/+3
| | | | | | | | * java/text/CollationElementIterator.java (NULLORDER): Initialize with -1 as JDK documentation says. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68199 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-30 Michael Koch <konqueror@gmx.de>mkoch2003-04-301-23/+104
| | | | | | | | | | | * java/text/CollationElementIterator.java, java/text/CollationKey.java, java/text/RuleBasedCollator.java: Merged copyright and documentation from classpath and rearranged some code. No code changes done. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66288 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/text/CollationElementIterator.java (secondaryOrder): Casttromey2001-12-181-3/+3
| | | | | | | | result to `short'. (tertiaryOrder): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48162 138bc75d-0d04-0410-961f-82ee72b054a4
* * All files: Updated copyright information.tromey2000-03-071-1/+1
| | | | | | | | | * COPYING: New file. * COPYING.LIB: Removed. * LIBGCJ_LICENSE: We now use GPL + special exception. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32387 138bc75d-0d04-0410-961f-82ee72b054a4
* * All files: Updated copyright to reflect Cygnus purchase.tromey2000-01-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31504 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/StringBuffer.java (ensureCapacity): Don't resizetromey1999-04-301-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vector when shared. * java/util/Locale.java (Locale(String,String)): Implement in terms of 3-argument version; variant now defaults to empty string. (toString): Assume variant is not null. (equals): Assume all strings are not null. (Locale): Throw NullPointerException if any argument is null. * java/util/ResourceBundle.java (getBundle): Don't try the base name; now implicit in partialGetBundle call. (trySomeGetBundle): Search for parent bundles and call setParent as required. (partialGetBundle): Added `langStop' argument. Use `Locale.toString' to compute bundleName. (resource_cache): New static field. (partialGetBundle): Cache the returned resource bundle. Now synchronized. * gnu/gcj/text/LocaleData_en.java (contents): [collatorRule] Added missing `<'. * mauve-libgcj: Enable Collator and RuleBasedCollator. * java/text/natCollator.cc (decomposeCharacter): `base' now `const'. * Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Added CollationElementIterator, CollationKey, Collator, RuleBasedCollator. (nat_source_files): Added natCollator.cc. * java/text/RuleBasedCollator.java (ceiNext): No longer static. (compare): Pass `this' to CollationElementIterator constructor. (getCollationElementIterator): Likewise. (ceiNext): Fix off-by-one error when finding initial substring. (next): Correctly mask off bits when computing return value. Fixed return values when one string is shorter than the other. * java/text/CollationElementIterator.java (collator): New field. (CollationElementIterator): Added collator argument. (next): Call ceiNext on collator object. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26707 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/GregorianCalendar.java (setDefaultTime): New method.tromey1999-04-261-0/+75
(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
OpenPOWER on IntegriCloud