OSDN Git Service

* java/util/TimeZone.java (getAvailableIDs): Activated commented
authorwarrenl <warrenl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Dec 2000 10:24:38 +0000 (10:24 +0000)
committerwarrenl <warrenl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Dec 2000 10:24:38 +0000 (10:24 +0000)
out code dependent on compiler and library changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37994 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/java/util/TimeZone.java

index a19a316..c865785 100644 (file)
@@ -1,5 +1,10 @@
 2000-12-04  Warren Levy  <warrenl@redhat.com>
 
+       * java/util/TimeZone.java (getAvailableIDs): Activated commented
+       out code dependent on compiler and library changes.
+
+2000-12-04  Warren Levy  <warrenl@redhat.com>
+
        * java/io/FilePermission.java: Made class final per spec.
        * java/text/DecimalFormatSymbols.java (setCurrencySymbol): Changed
        method name to match spec (fixed typo).
index 45c26f6..5132973 100644 (file)
@@ -646,15 +646,11 @@ public abstract class TimeZone implements java.io.Serializable, Cloneable
        Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600);
     timezones.put("Australia/Melbourne", tz);
     timezones.put("Australia/Sydney", tz);
-/******************************************************************
- * FIXME: XXX: Not yet available in libgcj.  Need new jdk 1.2
- * SimpleTimeZone constructor.
     tz = new SimpleTimeZone
       (10500 * 3600, "Australia/Lord_Howe",
        Calendar.OCTOBER, -1, Calendar.SUNDAY, 2000 * 3600,
        Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600, 500 * 3600);
     timezones.put("Australia/Lord_Howe", tz);
- ******************************************************************/
     tz = new SimpleTimeZone
       (11000 * 3600, "Asia/Magadan",
        Calendar.MARCH, -1, Calendar.SUNDAY, 2000 * 3600,
@@ -1012,8 +1008,6 @@ public abstract class TimeZone implements java.io.Serializable, Cloneable
    * offset. For example <code>{"Phoenix", "Denver"}</code>, since both have
    * GMT-07:00, but differ in daylight savings behaviour.
    */
-/******************************************************************
- * FIXME: XXX: Not yet available in libgcj.  Need jdk 1.2 Iterator and Map.
   public static String[] getAvailableIDs(int rawOffset)
   {
     int count = 0;
@@ -1038,20 +1032,16 @@ public abstract class TimeZone implements java.io.Serializable, Cloneable
       }
     return ids;
   }
- ******************************************************************/
 
   /**
    * Gets all available IDs.
    * @return An array of all supported IDs.
    */
-/******************************************************************
- * FIXME: XXX: Not yet available in libgcj.  Need jdk 1.2 java.util.Map.
   public static String[] getAvailableIDs()
   {
     return (String[])
       timezones.keySet().toArray(new String[timezones.size()]);
   }
- ******************************************************************/
 
   /**
    * Returns the time zone under which the host is running.  This