Lines Matching defs:tzID
98 UChar tzID[4];
130 /*get Illegal TZID where index >= count*/
133 log_err("FAIL:for TZID index >= count Expected INDEX_OUTOFBOUNDS_ERROR Got %s\n", u_errorName(status));
277 u_uastrcpy(tzID, "PST");
278 caldef=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status);
283 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status);
287 u_strcpy(tzID, fgGMTID);
288 calfr=ucal_open(tzID, u_strlen(tzID), "fr_FR", UCAL_TRADITIONAL, &status);
292 calit=ucal_open(tzID, u_strlen(tzID), "it_IT", UCAL_TRADITIONAL, &status);
490 UChar tzID[4];
504 u_strcpy(tzID, fgGMTID);
506 caldef=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status);
507 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status);
508 caldef3=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status);
609 u_uastrcpy(tzID, "PST");
610 ucal_setTimeZone(caldef2,tzID, 3, &status);
620 } else if (u_strcmp(id, tzID) != 0) {
621 log_err("FAIL: getTimeZoneID returns a wrong ID: actual=%d, expected=%s\n", austrdup(id), austrdup(tzID));
635 u_strcpy(tzID, fgGMTID);
636 ucal_setTimeZone(caldef2, tzID, 3, &status);
754 UChar tzID[4];
760 u_strcpy(tzID, fgGMTID);
762 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status);
916 UChar tzID[32];
925 u_uastrcpy(tzID, "PST");
927 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status);;
1019 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status);
1077 u_uastrcpy(tzID, itemPtr->zone);
1078 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status);
1109 UChar tzID[4];
1113 u_uastrcpy(tzID, "PST");
1115 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status);;
1209 UChar tzID[4];
1211 u_strcpy(tzID, fgGMTID);
1213 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status);;
1282 UChar tzID[4];
1285 u_strcpy(tzID, fgGMTID);
1286 gmtcal=ucal_open(tzID, 3, "en_US", UCAL_TRADITIONAL, &status);;
1291 u_uastrcpy(tzID, "PST");
1292 cal = ucal_open(tzID, 3, "en_US", UCAL_TRADITIONAL, &status);
1951 UChar tzID[32];
1955 u_uastrcpy(tzID, "America/New_York");
1956 ucal = ucal_open(tzID, -1, NULL, UCAL_DEFAULT, &status);
2404 UChar tzID[64];
2409 len = ucal_getTimeZoneIDForWindowsID(winEastern, -1, NULL, tzID, sizeof(tzID)/sizeof(tzID[0]), &status);
2412 } else if (len != u_strlen(tzNewYork) || u_strncmp(tzID, tzNewYork, len) != 0) {
2418 len = ucal_getTimeZoneIDForWindowsID(winEastern, u_strlen(winEastern), "US", tzID, sizeof(tzID)/sizeof(tzID[0]), &status);
2421 } else if (len != u_strlen(tzNewYork) || u_strncmp(tzID, tzNewYork, len) != 0) {
2427 len = ucal_getTimeZoneIDForWindowsID(winEastern, u_strlen(winEastern), "CA", tzID, sizeof(tzID)/sizeof(tzID[0]), &status);
2430 } else if (len != u_strlen(tzTronto) || u_strncmp(tzID, tzTronto, len) != 0) {
2437 len = ucal_getTimeZoneIDForWindowsID(sBogus, -1, NULL, tzID, sizeof(tzID)/sizeof(tzID[0]), &status);