mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-2118 have STZ call base class
X-SVN-Rev: 12470
This commit is contained in:
parent
a319f87007
commit
aac7ffd8be
1 changed files with 3 additions and 4 deletions
|
@ -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
|
Loading…
Add table
Reference in a new issue