mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-20 20:19:32 +00:00
ICU-10434 Relaxed the check condition for DST amount from 1 hour to 2 hours. tzdata2014b added Antarctica/Troll with a recurrent DST rule with 2 hour daylight saving.
X-SVN-Rev: 35531
This commit is contained in:
parent
d1945b489b
commit
c5f65ad529
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
/*
|
||||
**********************************************************************
|
||||
* Copyright (c) 2003-2013, International Business Machines
|
||||
* Copyright (c) 2003-2014, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
* Author: Alan Liu
|
||||
|
@ -829,7 +829,7 @@ struct FinalRulePart {
|
|||
if (mode != DOM && (dow < 0 || dow >= 7)) {
|
||||
os << "Invalid input day of week " << dow;
|
||||
}
|
||||
if (offset < 0 || offset > HOUR) {
|
||||
if (offset < 0 || offset > (2 * HOUR)) {
|
||||
os << "Invalid input offset " << offset;
|
||||
}
|
||||
if (isgmt && !isstd) {
|
||||
|
|
Loading…
Add table
Reference in a new issue