* java/util/GregorianCalendar.java (computeTime): Only call
getTimeZone() once.
From-SVN: r42121
+2001-05-15 Tom Tromey <tromey@redhat.com>
+
+ * java/util/GregorianCalendar.java (computeTime): Only call
+ getTimeZone() once.
+
2001-05-14 Tom Tromey <tromey@redhat.com>
* java/text/SimpleDateFormat.java (parse): Clear DST_OFFSET and
TimeZone zone = getTimeZone();
int rawOffset = isSet[ZONE_OFFSET]
- ? fields[ZONE_OFFSET] : getTimeZone().getRawOffset();
+ ? fields[ZONE_OFFSET] : zone.getRawOffset();
int dayOfYear = daysOfYear[0] + daysOfYear[1];
int month = (dayOfYear * 5 + 3) / (31 + 30 + 31 + 30 + 31);