mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-09 07:22:11 +00:00
ICU-7014 Allow start time to be 24:00 in ICU4J SimpleTimeZone.
X-SVN-Rev: 26145
This commit is contained in:
parent
e2879a0667
commit
22ca909a67
1 changed files with 1 additions and 1 deletions
|
@ -989,7 +989,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