mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-7706 Merging the fix for ticket#7319.
X-SVN-Rev: 28094
This commit is contained in:
parent
e4dee3d03c
commit
4cde98be9f
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 1996-2007, International Business Machines
|
||||
* Copyright (C) 1996-2010, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*/
|
||||
|
||||
|
@ -993,7 +993,7 @@ public class SimpleTimeZone extends BasicTimeZone {
|
|||
if (startMonth < Calendar.JANUARY || startMonth > Calendar.DECEMBER) {
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
if (startTime < 0 || startTime >= Grego.MILLIS_PER_DAY ||
|
||||
if (startTime < 0 || startTime > Grego.MILLIS_PER_DAY ||
|
||||
startTimeMode < WALL_TIME || startTimeMode > UTC_TIME) {
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue