/[classpath]/classpath/java/text/SimpleDateFormat.java
ViewVC logotype

Diff of /classpath/java/text/SimpleDateFormat.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.41 by mark, Sun Feb 20 19:09:05 2005 UTC revision 1.42 by smarothy, Sun Feb 20 22:25:04 2005 UTC
# Line 1019  public class SimpleDateFormat extends Da Line 1019  public class SimpleDateFormat extends Da
1019                              found_zone = true;                              found_zone = true;
1020                              saw_timezone = true;                              saw_timezone = true;
1021                              TimeZone tz = TimeZone.getTimeZone (strings[0]);                              TimeZone tz = TimeZone.getTimeZone (strings[0]);
1022                              calendar.set (Calendar.DST_OFFSET, tz.getDSTSavings());                              // Check if it's a DST zone or ordinary
1023                                if(k == 3 || k == 4)
1024                                  calendar.set (Calendar.DST_OFFSET, tz.getDSTSavings());
1025                                else
1026                                  calendar.set (Calendar.DST_OFFSET, 0);
1027                              offset = tz.getRawOffset ();                              offset = tz.getRawOffset ();
1028                              pos.setIndex(index + strings[k].length());                              pos.setIndex(index + strings[k].length());
1029                              break;                              break;

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26