Index: java/text/SimpleDateFormat.java =================================================================== RCS file: /cvsroot/classpath/classpath/java/text/SimpleDateFormat.java,v retrieving revision 1.34 diff -u -3 -p -u -r1.34 SimpleDateFormat.java --- java/text/SimpleDateFormat.java 23 Jan 2005 02:11:57 -0000 1.34 +++ java/text/SimpleDateFormat.java 25 Jan 2005 19:46:25 -0000 @@ -840,7 +840,7 @@ public class SimpleDateFormat extends Da // We need a special case for the timezone, because it // uses a different data structure than the other cases. is_numeric = false; - calendar_field = Calendar.DST_OFFSET; + calendar_field = Calendar.ZONE_OFFSET; String[][] zoneStrings = formatData.getZoneStrings(); int zoneCount = zoneStrings.length; int index = pos.getIndex(); @@ -868,8 +868,8 @@ public class SimpleDateFormat extends Da found_zone = true; saw_timezone = true; TimeZone tz = TimeZone.getTimeZone (strings[0]); - calendar.set (Calendar.ZONE_OFFSET, tz.getRawOffset ()); - offset = tz.getDSTSavings(); + calendar.set (Calendar.DST_OFFSET, tz.getDSTSavings()); + offset = tz.getRawOffset (); pos.setIndex(index + strings[k].length()); break; }