ICU-5247 Change timebomb to ICU 3.7 - localPatternChars is deprecated in CLDR and won't be updated.

X-SVN-Rev: 19777
This commit is contained in:
Eric Mader 2006-06-28 19:21:43 +00:00
parent 02657fcc8b
commit 27c7ccf73b
2 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@
Time bomb - allows temporary behavior that expires at a given
release
---------------------------------------------------------------------*/
static const UVersionInfo ICU_36 = {3,6,0,0};
static const UVersionInfo ICU_37 = {3,7,0,0};
/*
returns a new UnicodeSet that is a flattened form of the original
@ -310,7 +310,7 @@ TestKeyInRootRecursive(UResourceBundle *root, const char *rootName,
ures_getKey(currentBundle),
locale);
} else if (strcmp(subBundleKey, "localPatternChars") == 0 &&
isICUVersionAtLeast(ICU_36)) {
isICUVersionAtLeast(ICU_37)) {
/* Check well-formedness of localPatternChars. First, the
* length must match the number of fields defined by
* DateFormat. Second, each character in the string must

View File

@ -30,7 +30,7 @@
// Time bomb - allows temporary behavior that expires at a given
// release
//--------------------------------------------------------------------
static const UVersionInfo ICU_36 = {3,6,0,0};
static const UVersionInfo ICU_37 = {3,7,0,0};
// *****************************************************************************
// class DateFormatTest
@ -323,7 +323,7 @@ void DateFormatTest::TestFieldPosition() {
// local pattern chars not accurate when CLDR 1.4 data
// first introduced...
if(isICUVersionAtLeast(ICU_36)) {
if(isICUVersionAtLeast(ICU_37)) {
assertEquals("patternChars", PATTERN_CHARS, rootSyms.getLocalPatternChars(buf));
}