/[classpath]/classpath/java/util/TimeZone.java
ViewVC logotype

Diff of /classpath/java/util/TimeZone.java

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

revision 1.30 by smarothy, Fri Feb 18 14:49:36 2005 UTC revision 1.31 by smarothy, Fri Feb 18 17:00:27 2005 UTC
# Line 1108  public abstract class TimeZone implement Line 1108  public abstract class TimeZone implement
1108      StringBuffer sb = new StringBuffer(9);      StringBuffer sb = new StringBuffer(9);
1109      sb.append("GMT");      sb.append("GMT");
1110    
1111      offset = Math.abs(offset) / (1000 * 60);      offset = offset / (1000 * 60);
1112      int hours = offset / 60;      int hours = Math.abs(offset) / 60;
1113      int minutes = offset % 60;      int minutes = Math.abs(offset) % 60;
1114    
1115      if (minutes != 0 || hours != 0)      if (minutes != 0 || hours != 0)
1116        {        {

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

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