• Home
  • Raw
  • Download

Lines Matching refs:tzID

99     UChar tzID[4];  in TestCalendar()  local
278 u_uastrcpy(tzID, "PST"); in TestCalendar()
279 caldef=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestCalendar()
284 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestCalendar()
288 u_strcpy(tzID, fgGMTID); in TestCalendar()
289 calfr=ucal_open(tzID, u_strlen(tzID), "fr_FR", UCAL_TRADITIONAL, &status); in TestCalendar()
293 calit=ucal_open(tzID, u_strlen(tzID), "it_IT", UCAL_TRADITIONAL, &status); in TestCalendar()
491 UChar tzID[4]; in TestGetSetDateAPI() local
505 u_strcpy(tzID, fgGMTID); in TestGetSetDateAPI()
507 caldef=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestGetSetDateAPI()
508 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestGetSetDateAPI()
509 caldef3=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestGetSetDateAPI()
610 u_uastrcpy(tzID, "PST"); in TestGetSetDateAPI()
611 ucal_setTimeZone(caldef2,tzID, 3, &status); in TestGetSetDateAPI()
621 } else if (u_strcmp(id, tzID) != 0) { in TestGetSetDateAPI()
622 …("FAIL: getTimeZoneID returns a wrong ID: actual=%d, expected=%s\n", austrdup(id), austrdup(tzID)); in TestGetSetDateAPI()
636 u_strcpy(tzID, fgGMTID); in TestGetSetDateAPI()
637 ucal_setTimeZone(caldef2, tzID, 3, &status); in TestGetSetDateAPI()
755 UChar tzID[4]; in TestFieldGetSet() local
761 u_strcpy(tzID, fgGMTID); in TestFieldGetSet()
763 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestFieldGetSet()
917 UChar tzID[32]; in TestAddRollExtensive() local
926 u_uastrcpy(tzID, "PST"); in TestAddRollExtensive()
928 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status);; in TestAddRollExtensive()
1020 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestAddRollExtensive()
1078 u_uastrcpy(tzID, itemPtr->zone); in TestAddRollExtensive()
1079 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status); in TestAddRollExtensive()
1110 UChar tzID[4]; in TestGetLimits() local
1114 u_uastrcpy(tzID, "PST"); in TestGetLimits()
1116 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status);; in TestGetLimits()
1210 UChar tzID[4]; in TestDOWProgression() local
1212 u_strcpy(tzID, fgGMTID); in TestDOWProgression()
1214 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status);; in TestDOWProgression()
1283 UChar tzID[4]; in testZones() local
1286 u_strcpy(tzID, fgGMTID); in testZones()
1287 gmtcal=ucal_open(tzID, 3, "en_US", UCAL_TRADITIONAL, &status);; in testZones()
1292 u_uastrcpy(tzID, "PST"); in testZones()
1293 cal = ucal_open(tzID, 3, "en_US", UCAL_TRADITIONAL, &status); in testZones()
1955 UChar tzID[32]; in TestAmbiguousWallTime() local
1959 u_uastrcpy(tzID, "America/New_York"); in TestAmbiguousWallTime()
1960 ucal = ucal_open(tzID, -1, NULL, UCAL_DEFAULT, &status); in TestAmbiguousWallTime()
2408 UChar tzID[64]; in TestGetTimeZoneIDByWindowsID() local
2413 …len = ucal_getTimeZoneIDForWindowsID(winEastern, -1, NULL, tzID, sizeof(tzID)/sizeof(tzID[0]), &st… in TestGetTimeZoneIDByWindowsID()
2416 } else if (len != u_strlen(tzNewYork) || u_strncmp(tzID, tzNewYork, len) != 0) { in TestGetTimeZoneIDByWindowsID()
2422 …meZoneIDForWindowsID(winEastern, u_strlen(winEastern), "US", tzID, sizeof(tzID)/sizeof(tzID[0]), &… in TestGetTimeZoneIDByWindowsID()
2425 } else if (len != u_strlen(tzNewYork) || u_strncmp(tzID, tzNewYork, len) != 0) { in TestGetTimeZoneIDByWindowsID()
2431 …meZoneIDForWindowsID(winEastern, u_strlen(winEastern), "CA", tzID, sizeof(tzID)/sizeof(tzID[0]), &… in TestGetTimeZoneIDByWindowsID()
2434 } else if (len != u_strlen(tzTronto) || u_strncmp(tzID, tzTronto, len) != 0) { in TestGetTimeZoneIDByWindowsID()
2441 …len = ucal_getTimeZoneIDForWindowsID(sBogus, -1, NULL, tzID, sizeof(tzID)/sizeof(tzID[0]), &status… in TestGetTimeZoneIDByWindowsID()