Home
last modified time | relevance | path

Searched refs:tzver (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtztest.cpp152 const char* tzver = TimeZone::getTZDataVersion(status); in TestGenericAPI() local
155 } else if (uprv_strlen(tzver) != 5 /* 4 digits + 1 letter */) { in TestGenericAPI()
156 errln((UnicodeString)"FAIL: getTZDataVersion returned " + tzver); in TestGenericAPI()
158 logln((UnicodeString)"tzdata version: " + tzver); in TestGenericAPI()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneTest.java553 String tzver = TimeZone.getTZDataVersion(); in TestGenericAPI() local
554 if (tzver.length() != 5 /* 4 digits + 1 letter */) { in TestGenericAPI()
555 errln("FAIL: getTZDataVersion returned " + tzver); in TestGenericAPI()
557 logln("PASS: tzdata version: " + tzver); in TestGenericAPI()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneTest.java556 String tzver = TimeZone.getTZDataVersion(); in TestGenericAPI() local
557 if (tzver.length() != 5 /* 4 digits + 1 letter */) { in TestGenericAPI()
558 errln("FAIL: getTZDataVersion returned " + tzver); in TestGenericAPI()
560 logln("PASS: tzdata version: " + tzver); in TestGenericAPI()
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c120 const char *tzver = 0; in TestCalendar() local
272 tzver = ucal_getTZDataVersion(&status); in TestCalendar()
275 } else if (uprv_strlen(tzver) != 5 /*4 digits + 1 letter*/) { in TestCalendar()
278 log_verbose("PASS: ucal_getTZDataVersion returned %s\n", tzver); in TestCalendar()
/external/icu/icu4c/source/i18n/
Dtimezone.cpp1525 const UChar *tzver = ures_getStringByKey(bundle.getAlias(), kTZVERSION, &len, &status); in initTZDataVersion() local
1532 u_UCharsToChars(tzver, TZDATA_VERSION, len); in initTZDataVersion()