mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-7744 Remove no-longer-needed timebomb
X-SVN-Rev: 28938
This commit is contained in:
parent
6dba897cff
commit
c104085f55
1 changed files with 1 additions and 2 deletions
|
@ -436,9 +436,8 @@ void DateFormatRoundTripTest::test(DateFormat *fmt, const Locale &origLocale, UB
|
|||
}
|
||||
|
||||
if(dmatch > maxDmatch || smatch > maxSmatch) { // Special case for Japanese and Islamic (could have large negative years)
|
||||
// Timebomb for Buddhist - see ticket #7744
|
||||
const char *type = fmt->getCalendar()->getType();
|
||||
if(!strcmp(type,"japanese") || (!strcmp(type,"buddhist") && !isICUVersionAtLeast(ICU_452))) {
|
||||
if(!strcmp(type,"japanese") || (!strcmp(type,"buddhist"))) {
|
||||
maxSmatch = 4;
|
||||
maxDmatch = 4;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue