gcc/libjava/java/util
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
..
jar backport: *.java: Reformat all to unofficial standard coding style. 2000-11-18 02:00:06 +00:00
zip DeflaterOutputStream.java (deflate): Loop while def.needsInput. 2001-04-01 14:28:45 -07:00
AbstractCollection.java Makefile.am: Add HashSet.java and java/lang/ref classes. 2000-12-11 03:47:48 +00:00
AbstractList.java AbstractList.java (SubList): Make it a top-level private class. 2000-11-03 03:58:05 +00:00
AbstractMap.java Makefile.am: Add HashSet.java and java/lang/ref classes. 2000-12-11 03:47:48 +00:00
AbstractSequentialList.java AbstractSequentialList.java: Synchronize with Classpath. 2001-02-15 06:43:00 +00:00
AbstractSet.java Makefile.am: Add HashSet.java and java/lang/ref classes. 2000-12-11 03:47:48 +00:00
ArrayList.java ArrayList.java: Remove RCS keywords from comments 2001-03-19 23:00:18 +00:00
Arrays.java re PR java/1895 (Libjava: Arrays.sort doesn't work) 2001-02-07 09:32:46 +00:00
BasicMapEntry.java ArrayList.java: Remove RCS keywords from comments 2001-03-19 23:00:18 +00:00
BitSet.java * java/util/BitSet.java: Updated copyright notice. 2000-12-06 21:26:32 +00:00
Calendar.java Calendar.java (set): Never recompute fields here. 2001-07-26 12:21:45 +01:00
Collection.java AbstractSequentialList.java: Synchronize with Classpath. 2001-02-15 06:43:00 +00:00
Collections.java TreeSet.java (clone): Call TreeMap.clone(), not Object.clone(). 2001-02-15 03:59:57 +00:00
Comparator.java AbstractSequentialList.java: Synchronize with Classpath. 2001-02-15 06:43:00 +00:00
ConcurrentModificationException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
Date.java re PR libgcj/3144 (java.lang.Date.compareTo() not supported) 2001-06-14 15:41:57 +00:00
Dictionary.java ArrayList.java: Remove RCS keywords from comments 2001-03-19 23:00:18 +00:00
EmptyStackException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
Enumeration.java ArrayList.java: Remove RCS keywords from comments 2001-03-19 23:00:18 +00:00
EventListener.java ArrayList.java: Remove RCS keywords from comments 2001-03-19 23:00:18 +00:00
EventObject.java ArrayList.java: Remove RCS keywords from comments 2001-03-19 23:00:18 +00:00
GregorianCalendar.java Calendar.java (set): Never recompute fields here. 2001-07-26 12:21:45 +01:00
HashMap.java HashMap.java (HashMap): If 0 is given for initialCapacity paramater, bump it to 1. 2001-03-24 08:05:29 +00:00
HashSet.java ArrayList.java: Remove RCS keywords from comments 2001-03-19 23:00:18 +00:00
Hashtable.java HashMap.java (HashMap): If 0 is given for initialCapacity paramater, bump it to 1. 2001-03-24 08:05:29 +00:00
Iterator.java AbstractSequentialList.java: Synchronize with Classpath. 2001-02-15 06:43:00 +00:00
LinkedList.java LinkedList.java (clone): Clear the copy list with clear(), not by setting its size field. 2001-07-17 02:56:38 +01:00
List.java Makefile.in: Rebuilt. 2000-11-22 11:59:59 +00:00
ListIterator.java AbstractSequentialList.java: Synchronize with Classpath. 2001-02-15 06:43:00 +00:00
ListResourceBundle.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
Locale.java Makefile.am: Added locale files from Classpath. 2000-10-27 10:33:46 +00:00
Map.java AbstractSequentialList.java: Synchronize with Classpath. 2001-02-15 06:43:00 +00:00
MissingResourceException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
NoSuchElementException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
Observable.java ArrayList.java: Remove RCS keywords from comments 2001-03-19 23:00:18 +00:00
Observer.java ArrayList.java: Remove RCS keywords from comments 2001-03-19 23:00:18 +00:00
Properties.java ArrayList.java: Remove RCS keywords from comments 2001-03-19 23:00:18 +00:00
PropertyPermission.java natString.cc: Include Locale.h. 2000-11-18 02:29:13 +00:00
PropertyResourceBundle.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
Random.java PropertyChangeEvent.java (serialVersionUID): Added. 2000-09-08 19:37:09 +00:00
ResourceBundle.java Forgot this file on last commit. 2001-04-25 16:48:05 +01:00
Set.java AbstractSequentialList.java: Synchronize with Classpath. 2001-02-15 06:43:00 +00:00
SimpleTimeZone.java Makefile.in: Rebuilt. 2000-11-22 11:59:59 +00:00
SortedMap.java ArrayList.java: Remove RCS keywords from comments 2001-03-19 23:00:18 +00:00
SortedSet.java re PR libgcj/1758 (java.util package lacks TreeMap) 2001-02-14 04:44:21 +00:00
Stack.java ArrayList.java: Remove RCS keywords from comments 2001-03-19 23:00:18 +00:00
StringTokenizer.java natObject.cc (_Jv_MonitorEnter): Only perform null check when we have to. 2000-04-09 01:26:20 +00:00
TimeZone.java TimeZone.java: Sync up with Classpath. 2001-03-20 10:05:45 +00:00
Timer.java * java/util/Timer.java: New version from Classpath. 2001-02-09 23:28:55 +00:00
TimerTask.java * java/util/TimerTask.java: New version from Classpath. 2001-02-17 15:27:34 +00:00
TooManyListenersException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
TreeMap.java TreeSet.java (writeObject): Use a for-loop instead of Iterator.hasNext(). 2001-03-06 01:04:28 +00:00
TreeSet.java TreeSet.java (writeObject): Use a for-loop instead of Iterator.hasNext(). 2001-03-06 01:04:28 +00:00
Vector.java Vector.java (insertElementAt): Unconditionally increment elementCount. 2000-12-02 04:13:52 +00:00
WeakHashMap.java Makefile.am: Add HashSet.java and java/lang/ref classes. 2000-12-11 03:47:48 +00:00