ICU-7706 Merging the fix for ticket#7319.
X-SVN-Rev: 28097
diff --git a/src/com/ibm/icu/util/SimpleTimeZone.java b/src/com/ibm/icu/util/SimpleTimeZone.java
index 3a3f74e..3dd0004 100755
--- a/src/com/ibm/icu/util/SimpleTimeZone.java
+++ b/src/com/ibm/icu/util/SimpleTimeZone.java
@@ -1,5 +1,5 @@
/*
-* Copyright (C) 1996-2006, International Business Machines
+* Copyright (C) 1996-2010, International Business Machines
* Corporation and others. All Rights Reserved.
*/
@@ -939,7 +939,7 @@
if (startMonth < Calendar.JANUARY || startMonth > Calendar.DECEMBER) {
throw new IllegalArgumentException();
}
- if (startTime < 0 || startTime >= TimeZone.MILLIS_PER_DAY ||
+ if (startTime < 0 || startTime > TimeZone.MILLIS_PER_DAY ||
startTimeMode < WALL_TIME || startTimeMode > UTC_TIME) {
throw new IllegalArgumentException();
}