summaryrefslogtreecommitdiffstats
path: root/libjava/java/text
Commit message (Collapse)AuthorAgeFilesLines
...
* * java/text/DecimalFormat.java: Throw IllegalArgumentExceptionwarrenl1999-06-101-28/+31
| | | | | | | throughout rather than ParseException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27481 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-06-10 Warren Levy <warrenl@cygnus.com>warrenl1999-06-101-3/+3
| | | | | | | | | | | | | * java/io/FileDescriptor.java (FileDescriptor(String, int)): Throw FileNotFoundException instead of IOException. (open): ditto. * java/io/FileInputStream.java (FileInputStream): Doesn't throw IOException. * java/text/Collator.java (CANONICAL_DECOMPOSITION): Fixed typo in static field name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27473 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/text/DateFormat.java (computeInstance): Separate timegreen1999-05-081-7/+24
| | | | | | | | | | | | | and date styles. (getDateTimeInstance): Ditto. (getDateTimeInstance(int,int)): New method. * Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Add new classes. * java/util/PropertyResourceBundle.java: New file. * gnu/gcj/util/EnumerationChain.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26842 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/StringBuffer.java (ensureCapacity): Don't resizetromey1999-04-303-16/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * natCollator.cc: New file.tromey1999-04-261-0/+74
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26655 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/GregorianCalendar.java (setDefaultTime): New method.tromey1999-04-264-0/+670
| | | | | | | | | | | | | | (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
* Initial revisiontromey1999-04-0715-0/+4000
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26263 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud