Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtztest.cpp151 const char* tzver = TimeZone::getTZDataVersion(status); in TestGenericAPI() local
154 } else if (uprv_strlen(tzver) != 5 /* 4 digits + 1 letter */) { in TestGenericAPI()
155 errln((UnicodeString)"FAIL: getTZDataVersion returned " + tzver); in TestGenericAPI()
157 logln((UnicodeString)"tzdata version: " + tzver); in TestGenericAPI()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneTest.java551 String tzver = TimeZone.getTZDataVersion(); in TestGenericAPI() local
552 if (tzver.length() != 5 /* 4 digits + 1 letter */) { in TestGenericAPI()
553 errln("FAIL: getTZDataVersion returned " + tzver); in TestGenericAPI()
555 logln("PASS: tzdata version: " + tzver); in TestGenericAPI()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneTest.java554 String tzver = TimeZone.getTZDataVersion(); in TestGenericAPI() local
555 if (tzver.length() != 5 /* 4 digits + 1 letter */) { in TestGenericAPI()
556 errln("FAIL: getTZDataVersion returned " + tzver); in TestGenericAPI()
558 logln("PASS: tzdata version: " + tzver); in TestGenericAPI()
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c116 const char *tzver = 0; in TestCalendar() local
257 tzver = ucal_getTZDataVersion(&status); in TestCalendar()
260 } else if (uprv_strlen(tzver) != 5 /*4 digits + 1 letter*/) { in TestCalendar()
263 log_verbose("PASS: ucal_getTZDataVersion returned %s\n", tzver); in TestCalendar()
/external/icu/icu4c/source/i18n/
Dtimezone.cpp1500 const UChar *tzver = ures_getStringByKey(bundle, kTZVERSION, &len, &status); in initTZDataVersion() local
1507 u_UCharsToChars(tzver, TZDATA_VERSION, len); in initTZDataVersion()