TimeZone.java (getAvailableIDs): Activated commented out code dependent on compiler...
authorWarren Levy <warrenl@redhat.com>
Mon, 4 Dec 2000 10:24:38 +0000 (10:24 +0000)
committerWarren Levy <warrenl@gcc.gnu.org>
Mon, 4 Dec 2000 10:24:38 +0000 (10:24 +0000)
* java/util/TimeZone.java (getAvailableIDs): Activated commented
out code dependent on compiler and library changes.

From-SVN: r37994

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

index a19a316da2efb40da07cad19458f342d930cb4c6..c8657850ea25e1eec80fa543d999f002b9db6bc3 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 45c26f6497fb98c2411409c1b7f2547444f7d1a1..5132973ee53704c0f0a61a236b2916e3ed6d4f2c 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