ICU-2118 have STZ call base class

X-SVN-Rev: 12470
This commit is contained in:
Alan Liu 2003-06-11 21:04:36 +00:00
parent a319f87007
commit aac7ffd8be

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 1996-2002, International Business Machines
* Copyright (C) 1996-2003, International Business Machines
* Corporation and others. All Rights Reserved.
*/
@ -736,8 +736,7 @@ public class SimpleTimeZone extends TimeZone {
if (this == other) return true;
if (!(other instanceof SimpleTimeZone)) return false;
SimpleTimeZone that = (SimpleTimeZone) other;
return rawOffset == that.rawOffset &&
useDaylight == that.useDaylight &&
return super.hasSameRules(other) &&
(!useDaylight
// Only check rules if using DST
|| (dstSavings == that.dstSavings &&
@ -1484,4 +1483,4 @@ public class SimpleTimeZone extends TimeZone {
}
}
//eof
//eof