1. 10 May, 2001 1 commit
    • tromey's avatar
      2001-05-10 Tom Tromey <tromey@redhat.com> · fcd5d3ed
      tromey authored
      	* java/util/GregorianCalendar.java: Imported from Classpath.
      	* gnu/java/locale/LocaleInformation_nl.java: New file from
      	Classpath.
      	* gnu/java/locale/LocaleInformation_en.java: Likewise.
      	* gnu/java/locale/LocaleInformation_de.java: Likewise.
      	* gnu/java/locale/LocaleInformation.java: Likewise.
      	* natGregorianCalendar.cc: Removed.
      	* Makefile.in: Rebuilt.
      	* Makefile.am (nat_source_files): Removed
      	natGregorianCalendar.cc.
      
      2001-05-10  Tom Tromey  <tromey@redhat.com>
      
      	* java/text/SimpleDateFormat.java (computeCenturyStart): New
      	method.
      	(defaultCenturyStart): Use it.
      	(readObject): Likewise.
      	(SimpleDateFormat): Clear the calendar.  Set the grouping on the
      	number format.
      	(parse): Copy the calendar before modifying it.  Correctly handle
      	the time zone.
      
      	* java/util/Calendar.java (clear): Set field value(s) to 0.
      
      2001-05-10  Jeff Sturm  <jsturm@one-point.com>
      
      	* Calendar.java (get): Clear areFieldsSet if requested field
      	is not set.
      	(set): Unset fields that depend on new value.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41942 138bc75d-0d04-0410-961f-82ee72b054a4
      fcd5d3ed
  2. 20 Apr, 2001 1 commit
    • warrenl's avatar
      * java/lang/natSystem.cc (getSystemTimeZone): Adjust for DST. · adaf0362
      warrenl authored
      	* java/text/SimpleDateFormat.java
      	(indexInArray): Removed private method.
      	(processYear): Removed private method.
      	(parseLenient): Removed private method.
      	(parseLeadingZeros): Removed private method.
      	(parseStrict): Removed private method.
      	(expect): Added new private method.
      	(parse): Reverted to pre-Classpath merge version with minor fixes.
      	* java/util/natGregorianCalendar.cc (computeTime): Handle strict
      	calendars.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41456 138bc75d-0d04-0410-961f-82ee72b054a4
      adaf0362
  3. 20 Jan, 2001 1 commit
  4. 28 Nov, 2000 2 commits
    • warrenl's avatar
      * java/text/DateFormatSymbols.java (zoneStringsDefault): Added · e3088a0f
      warrenl authored
      	more time zone entries.
      	* java/text/SimpleDateFormat.java (format): Added case for
      	TIMEZONE_FIELD.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37824 138bc75d-0d04-0410-961f-82ee72b054a4
      e3088a0f
    • warrenl's avatar
      * Makefile.am: Added natTimeZone.cc. · 1fbe9097
      warrenl authored
      	* Makefile.in: Rebuilt.
      	* gnu/gcj/text/LocaleData_en.java: Added DateFormat entries.
      	* java/text/DateFormatSymbols.java (ampms): Made package private.
      	(eras): Made package private.
      	(months): Made package private.
      	(shortMonths): Made package private.
      	(shortWeekdays): Made package private.
      	(weekdays): Made package private.
      	(formatPrefixes): New private field.
      	(localPatternCharsDefault): Made private.
      	(dateFormats): New package private field.
      	(timeFormats): New package private field.
      	(formatsForKey): New private method.
      	(DateFormatSymbols(Locale)): Set dateFormats and timeFormats.
      	(DateFormatSymbols(DateFormatSymbols)): Ditto.
      	* java/text/SimpleDateFormat.java: Merged with Classpath.
      	* java/util/TimeZone.java: Merged with Classpath.
      	* java/util/natTimeZone.cc: New file.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37808 138bc75d-0d04-0410-961f-82ee72b054a4
      1fbe9097
  5. 10 Oct, 2000 1 commit
    • warrenl's avatar
      * gnu/gcj/text/LocaleData_en.java (monetarySeparator): Added. · b6d02719
      warrenl authored
      	* java/sql/Date.java (serialVersionUID): New field.
      	* java/sql/Time.java (serialVersionUID): New field.
      	* java/sql/Timestamp.java (serialVersionUID): New field.
      	* java/text/ChoiceFormat.java (serialVersionUID): New field.
      	* java/text/DateFormat.java (getDateTimeInstance (int)): Removed.
      	* java/text/DateFormatSymbols.java (serialVersionUID): New field.
      	* java/text/DecimalFormat.java (serialVersionOnStream): New field.
      	(readObject): New serialization method.
      	* java/text/DecimalFormatSymbols.java (monetarySeparator): New field.
      	(serialVersionOnStream): New field.
      	(readObject): New serialization method.
      	(getMonetaryDecimalSeparator): New method.
      	(setMonetaryDecimalSeparator): New method.
      	* java/text/NumberFormat.java (maxFractionDigits): New field.
      	(maxIntegerDigits): New field.
      	(minFractionDigits): New field.
      	(minIntegerDigits): New field.
      	(serialVersionOnStream): New field.
      	(serialVersionUID): New field.
      	(readObject): New serialization method.
      	(writeObject): New serialization method.
      	* java/text/SimpleDateFormat.java (defaultCenturyStart): Initialized.
      	(serialVersionOnStream): New field.
      	(serialVersionUID): New field.
      	(readObject): New serialization method.
      
      Serialization mods.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36831 138bc75d-0d04-0410-961f-82ee72b054a4
      b6d02719
  6. 07 Mar, 2000 1 commit
  7. 03 Feb, 2000 1 commit
    • tromey's avatar
      * java/util/Calendar.java (toString): New method. · fe03e3ea
      tromey authored
      	* java/util/SimpleTimeZone.java (clone): New method.
      	(toString): New method.
      	* java/util/TimeZone.java (clone): New method.
      	* java/text/SimpleDateFormat.java (clone): New method.
      	* java/text/NumberFormat.java (clone): New method.
      	(equals): New method.
      	* java/text/Format.java (clone): New method.
      	* java/text/DateFormatSymbols.java (DateFormatSymbols): New
      	constructor.
      	(clone): New method.
      	* java/text/DateFormat.java (clone): New method.
      	* java/text/Collator.java (clone): New method.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31775 138bc75d-0d04-0410-961f-82ee72b054a4
      fe03e3ea
  8. 19 Jan, 2000 1 commit
  9. 07 Apr, 1999 1 commit