Searched refs:tzver (Results 1 – 5 of 5) sorted by relevance
559 String tzver = TimeZone.getTZDataVersion(); in TestGenericAPI() local560 if (tzver.length() != 5 /* 4 digits + 1 letter */) { in TestGenericAPI()561 errln("FAIL: getTZDataVersion returned " + tzver); in TestGenericAPI()563 logln("PASS: tzdata version: " + tzver); in TestGenericAPI()
146 const char* tzver = TimeZone::getTZDataVersion(status); in TestGenericAPI() local149 } else if (uprv_strlen(tzver) != 5 /* 4 digits + 1 letter */) { in TestGenericAPI()150 errln((UnicodeString)"FAIL: getTZDataVersion returned " + tzver); in TestGenericAPI()152 logln((UnicodeString)"tzdata version: " + tzver); in TestGenericAPI()
555 String tzver = TimeZone.getTZDataVersion(); in TestGenericAPI() local556 if (tzver.length() != 5 /* 4 digits + 1 letter */) { in TestGenericAPI()557 errln("FAIL: getTZDataVersion returned " + tzver); in TestGenericAPI()559 logln("PASS: tzdata version: " + tzver); in TestGenericAPI()
108 const char *tzver = 0; in TestCalendar() local249 tzver = ucal_getTZDataVersion(&status); in TestCalendar()252 } else if (uprv_strlen(tzver) != 5 /*4 digits + 1 letter*/) { in TestCalendar()255 log_verbose("PASS: ucal_getTZDataVersion returned %s\n", tzver); in TestCalendar()
1497 const UChar *tzver = ures_getStringByKey(bundle, kTZVERSION, &len, &status); in initTZDataVersion() local1504 u_UCharsToChars(tzver, TZDATA_VERSION, len); in initTZDataVersion()