• Home
  • Raw
  • Download

Lines Matching refs:tzID

110     UChar tzID[4];  in TestCalendar()  local
301 u_uastrcpy(tzID, "PST"); in TestCalendar()
302 caldef=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestCalendar()
307 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestCalendar()
311 u_strcpy(tzID, fgGMTID); in TestCalendar()
312 calfr=ucal_open(tzID, u_strlen(tzID), "fr_FR", UCAL_TRADITIONAL, &status); in TestCalendar()
316 calit=ucal_open(tzID, u_strlen(tzID), "it_IT", UCAL_TRADITIONAL, &status); in TestCalendar()
519 UChar tzID[4]; in TestGetSetDateAPI() local
533 u_strcpy(tzID, fgGMTID); in TestGetSetDateAPI()
535 caldef=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestGetSetDateAPI()
536 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestGetSetDateAPI()
537 caldef3=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestGetSetDateAPI()
642 u_uastrcpy(tzID, "PST"); in TestGetSetDateAPI()
643 ucal_setTimeZone(caldef2,tzID, 3, &status); in TestGetSetDateAPI()
653 } else if (u_strcmp(id, tzID) != 0) { in TestGetSetDateAPI()
654 …("FAIL: getTimeZoneID returns a wrong ID: actual=%d, expected=%s\n", austrdup(id), austrdup(tzID)); in TestGetSetDateAPI()
668 u_strcpy(tzID, fgGMTID); in TestGetSetDateAPI()
669 ucal_setTimeZone(caldef2, tzID, 3, &status); in TestGetSetDateAPI()
787 UChar tzID[4]; in TestFieldGetSet() local
793 u_strcpy(tzID, fgGMTID); in TestFieldGetSet()
795 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestFieldGetSet()
949 UChar tzID[32]; in TestAddRollExtensive() local
958 u_uastrcpy(tzID, "PST"); in TestAddRollExtensive()
960 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status); in TestAddRollExtensive()
1052 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestAddRollExtensive()
1110 u_uastrcpy(tzID, itemPtr->zone); in TestAddRollExtensive()
1111 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status); in TestAddRollExtensive()
1142 UChar tzID[4]; in TestGetLimits() local
1146 u_uastrcpy(tzID, "PST"); in TestGetLimits()
1148 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status); in TestGetLimits()
1242 UChar tzID[4]; in TestDOWProgression() local
1244 u_strcpy(tzID, fgGMTID); in TestDOWProgression()
1246 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestDOWProgression()
1318 UChar tzID[4]; in testZones() local
1321 u_strcpy(tzID, fgGMTID); in testZones()
1322 gmtcal=ucal_open(tzID, 3, "en_US", UCAL_TRADITIONAL, &status); in testZones()
1327 u_uastrcpy(tzID, "PST"); in testZones()
1328 cal = ucal_open(tzID, 3, "en_US", UCAL_TRADITIONAL, &status); in testZones()
1992 UChar tzID[32]; in TestAmbiguousWallTime() local
1996 u_uastrcpy(tzID, "America/New_York"); in TestAmbiguousWallTime()
1997 ucal = ucal_open(tzID, -1, "en_US", UCAL_DEFAULT, &status); in TestAmbiguousWallTime()
2450 UChar tzID[64]; in TestGetTimeZoneIDByWindowsID() local
2455 … len = ucal_getTimeZoneIDForWindowsID(winEastern, -1, NULL, tzID, UPRV_LENGTHOF(tzID), &status); in TestGetTimeZoneIDByWindowsID()
2458 } else if (len != u_strlen(tzNewYork) || u_strncmp(tzID, tzNewYork, len) != 0) { in TestGetTimeZoneIDByWindowsID()
2464 …tTimeZoneIDForWindowsID(winEastern, u_strlen(winEastern), "US", tzID, UPRV_LENGTHOF(tzID), &status… in TestGetTimeZoneIDByWindowsID()
2467 } else if (len != u_strlen(tzNewYork) || u_strncmp(tzID, tzNewYork, len) != 0) { in TestGetTimeZoneIDByWindowsID()
2473 …tTimeZoneIDForWindowsID(winEastern, u_strlen(winEastern), "CA", tzID, UPRV_LENGTHOF(tzID), &status… in TestGetTimeZoneIDByWindowsID()
2476 } else if (len != u_strlen(tzTronto) || u_strncmp(tzID, tzTronto, len) != 0) { in TestGetTimeZoneIDByWindowsID()
2482 len = ucal_getTimeZoneIDForWindowsID(sBogus, -1, NULL, tzID, UPRV_LENGTHOF(tzID), &status); in TestGetTimeZoneIDByWindowsID()
2495 …etTimeZoneIDForWindowsID(sBogusWithVariantCharacters, -1, NULL, tzID, UPRV_LENGTHOF(tzID), &status… in TestGetTimeZoneIDByWindowsID()