gcc/libjava/java/text
Bryce McKinlay fa397ddafb Calendar.java (set): Never recompute fields here.
* java/util/Calendar.java (set): Never recompute fields here. They
	will already be set if someone set time explicitly, and it can cause
	problems to do so. Don't invalidate AM_PM setting if HOUR is set.
	* java/util/GregorianCalendar.java (computeTime): Don't ignore an
	HOUR setting if AM_PM is set. Don't try to ensure the HOUR value is
	sane.
	* java/text/SimpleDateFormat.java (defaultCentury): New field.
	(readObject): Call set2DigitYearStart if appropriate so that
	defaultCentury is calculated.
	(SimpleDateFormat): Don't bother clearing calendar here. Call
	computeCenturyStart().
	(set2DigitYearStart): Calculate and set defaultCentury.
	(format): Don't clone the calendar. Use "calendar" not "theCalendar"
	everywhere.
	(parse): Likewise. If the pattern is "y" or "yy" and it found exactly
	2 numeric digits, use the 80-20 heuristic to parse the value into a
	default century based on defaultCenturyStart.
	(computeCenturyStart): Rewritten. Call set2DigitYearStart().

From-SVN: r44395
2001-07-26 12:21:45 +01:00
..
BreakIterator.java
CharacterIterator.java
ChoiceFormat.java LocaleData_en.java (monetarySeparator): Added. 2000-10-10 23:09:08 +00:00
CollationElementIterator.java
CollationKey.java CollationKey.java: Implement Comparable. 2000-11-17 20:44:03 +00:00
Collator.java Collator.java (decomposeCharacter, [...]): Now package-private, not protected. 2000-12-06 21:14:14 +00:00
DateFormat.java LocaleData_en.java (monetarySeparator): Added. 2000-10-10 23:09:08 +00:00
DateFormatSymbols.java re PR libgcj/1411 (natTimeZone.cc should be removed) 2001-01-09 07:07:51 +00:00
DecimalFormat.java LocaleData_en.java (monetarySeparator): Added. 2000-10-10 23:09:08 +00:00
DecimalFormatSymbols.java Collator.java (decomposeCharacter, [...]): Now package-private, not protected. 2000-12-06 21:14:14 +00:00
FieldPosition.java
Format.java
MessageFormat.java re PR libgcj/2429 (java.text.MessageFormat should usefully set text on exceptions) 2001-04-02 19:55:56 +00:00
natCollator.cc
NumberFormat.java NumberFormat.java (groupingUsed, [...]): Now package-private. 2000-12-15 06:23:28 +00:00
ParseException.java
ParsePosition.java
RuleBasedCollator.java natString.cc: Include Locale.h. 2000-11-18 02:29:13 +00:00
SimpleDateFormat.java Calendar.java (set): Never recompute fields here. 2001-07-26 12:21:45 +01:00
StringCharacterIterator.java natString.cc: Include Locale.h. 2000-11-18 02:29:13 +00:00