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
@ -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…
Reference in New Issue
Block a user