Lines Matching refs:TimeZone
96 TimeZone* zoneclone = zone->clone(); in TestGenericAPI()
112 TimeZone* saveDefault = TimeZone::createDefault(); in TestGenericAPI()
115 TimeZone::adoptDefault(zone); in TestGenericAPI()
116 TimeZone* defaultzone = TimeZone::createDefault(); in TestGenericAPI()
120 TimeZone::adoptDefault(saveDefault); in TestGenericAPI()
140 TimeZone* hostZone = TimeZone::detectHostTimeZone(); in TestGenericAPI()
151 const char* tzver = TimeZone::getTZDataVersion(status); in TestGenericAPI()
240 TimeZoneTest::findTransition(const TimeZone& tz, in findTransition()
270 TimeZoneTest::testUsingBinarySearch(const TimeZone& tz, in testUsingBinarySearch()
316 TimeZone* tz = TimeZone::createTimeZone("PRT"); in TestPRTOffset()
343 TimeZone* time_zone = TimeZone::createTimeZone("PST"); in TestVariousAPI518()
377 const UnicodeString** ids = TimeZone::createAvailableIDs(numIDs); in TestGetAvailableIDs913()
393 ids = TimeZone::createAvailableIDs(-8*U_MILLIS_PER_HOUR, numIDs); in TestGetAvailableIDs913()
408 ids = TimeZone::createAvailableIDs("US", numIDs); in TestGetAvailableIDs913()
427 StringEnumeration* s = TimeZone::createEnumeration(); in TestGetAvailableIDs913()
464 TimeZone *z = TimeZone::createTimeZone(*id); in TestGetAvailableIDs913()
483 s = TimeZone::createEnumeration(1 * U_MILLIS_PER_HOUR); in TestGetAvailableIDs913()
497 s = TimeZone::createEnumeration("US"); in TestGetAvailableIDs913()
506 TimeZone *tz = TimeZone::createTimeZone("PST"); in TestGetAvailableIDs913()
510 tz = TimeZone::createTimeZone("America/Los_Angeles"); in TestGetAvailableIDs913()
516 tz = TimeZone::createTimeZone("NON_EXISTENT"); in TestGetAvailableIDs913()
545 any = TimeZone::createTimeZoneIDEnumeration(UCAL_ZONE_TYPE_ANY, NULL, NULL, ec); in TestGetAvailableIDsNew()
551 canonical = TimeZone::createTimeZoneIDEnumeration(UCAL_ZONE_TYPE_CANONICAL, NULL, NULL, ec); in TestGetAvailableIDsNew()
557 …canonicalLoc = TimeZone::createTimeZoneIDEnumeration(UCAL_ZONE_TYPE_CANONICAL_LOCATION, NULL, NULL… in TestGetAvailableIDsNew()
563 any_US = TimeZone::createTimeZoneIDEnumeration(UCAL_ZONE_TYPE_ANY, "US", NULL, ec); in TestGetAvailableIDsNew()
569 canonical_US = TimeZone::createTimeZoneIDEnumeration(UCAL_ZONE_TYPE_CANONICAL, "US", NULL, ec); in TestGetAvailableIDsNew()
575 …canonicalLoc_US = TimeZone::createTimeZoneIDEnumeration(UCAL_ZONE_TYPE_CANONICAL_LOCATION, "US", N… in TestGetAvailableIDsNew()
582 any_W5 = TimeZone::createTimeZoneIDEnumeration(UCAL_ZONE_TYPE_ANY, NULL, &rawOffset, ec); in TestGetAvailableIDsNew()
588 any_CA_W5 = TimeZone::createTimeZoneIDEnumeration(UCAL_ZONE_TYPE_ANY, "CA", &rawOffset, ec); in TestGetAvailableIDsNew()
595 any_US_E14 = TimeZone::createTimeZoneIDEnumeration(UCAL_ZONE_TYPE_ANY, "US", &rawOffset, ec); in TestGetAvailableIDsNew()
629 TimeZone::getCanonicalID(*id1, canonicalID, isSystemID, ec); in TestGetAvailableIDsNew()
649 TimeZone::getCanonicalID(*id1, canonicalID, isSystemID, ec); in TestGetAvailableIDsNew()
668 TimeZone::getRegion(*id1, region, sizeof(region), ec); in TestGetAvailableIDsNew()
684 TimeZone::getRegion(*id1, region, sizeof(region), ec); in TestGetAvailableIDsNew()
700 TimeZone *tz = TimeZone::createTimeZone(*id1); in TestGetAvailableIDsNew()
908 TimeZone *tz = TimeZone::createTimeZone(itsID); in TestShortZoneIDs()
909 if (!tz || (kReferenceList[i].offset != 0 && *tz == *TimeZone::getGMT())) { in TestShortZoneIDs()
1000 TimeZone *tz1 = TimeZone::createTimeZone(zone1); in TestShortZoneIDs()
1001 TimeZone *tz2 = TimeZone::createTimeZone(zone2); in TestShortZoneIDs()
1169 TimeZone *zone = TimeZone::createTimeZone(id); in TestCustomParse()
1350 TimeZone::EDisplayType styles[] = { TimeZone::SHORT, TimeZone::LONG }; in TestAliasedNames()
1356 TimeZone *from = NULL, *to = NULL; in TestAliasedNames()
1358 from = TimeZone::createTimeZone(kData[i].from); in TestAliasedNames()
1359 to = TimeZone::createTimeZone(kData[i].to); in TestAliasedNames()
1411 TimeZone *zone = TimeZone::createTimeZone("PST"); in TestDisplayName()
1426 TimeZone::EDisplayType style; in TestDisplayName()
1429 {FALSE, TimeZone::SHORT, "PST"}, in TestDisplayName()
1430 {TRUE, TimeZone::SHORT, "PDT"}, in TestDisplayName()
1431 {FALSE, TimeZone::LONG, "Pacific Standard Time"}, in TestDisplayName()
1432 {TRUE, TimeZone::LONG, "Pacific Daylight Time"}, in TestDisplayName()
1434 {FALSE, TimeZone::SHORT_GENERIC, "PT"}, in TestDisplayName()
1435 {TRUE, TimeZone::SHORT_GENERIC, "PT"}, in TestDisplayName()
1436 {FALSE, TimeZone::LONG_GENERIC, "Pacific Time"}, in TestDisplayName()
1437 {TRUE, TimeZone::LONG_GENERIC, "Pacific Time"}, in TestDisplayName()
1439 {FALSE, TimeZone::SHORT_GMT, "-0800"}, in TestDisplayName()
1440 {TRUE, TimeZone::SHORT_GMT, "-0700"}, in TestDisplayName()
1441 {FALSE, TimeZone::LONG_GMT, "GMT-08:00"}, in TestDisplayName()
1442 {TRUE, TimeZone::LONG_GMT, "GMT-07:00"}, in TestDisplayName()
1444 {FALSE, TimeZone::SHORT_COMMONLY_USED, "PST"}, in TestDisplayName()
1445 {TRUE, TimeZone::SHORT_COMMONLY_USED, "PDT"}, in TestDisplayName()
1446 {FALSE, TimeZone::GENERIC_LOCATION, "Los Angeles Time"}, in TestDisplayName()
1447 {TRUE, TimeZone::GENERIC_LOCATION, "Los Angeles Time"}, in TestDisplayName()
1449 {FALSE, TimeZone::LONG, ""} in TestDisplayName()
1697 TimeZone* tz_icu = TimeZone::createTimeZone(tzName); in TestFractionalDST()
1719 StringEnumeration* s = TimeZone::createEnumeration("US"); in TestCountries()
1749 s = TimeZone::createEnumeration("JP"); in TestCountries()
1766 StringEnumeration* s1 = TimeZone::createEnumeration("US"); in TestCountries()
1767 StringEnumeration* s2 = TimeZone::createEnumeration("US"); in TestCountries()
1773 TimeZone* tz1 = TimeZone::createTimeZone(*id1); in TestCountries()
1779 TimeZone* tz2 = TimeZone::createTimeZone(*id2); in TestCountries()
1818 TimeZone *tz = TimeZone::createTimeZone(id); in TestHistorical()
1848 int32_t n = TimeZone::countEquivalentIDs("PST"); in TestEquivalentIDs()
1854 UnicodeString id = TimeZone::getEquivalentID("PST", i); in TestEquivalentIDs()
1904 GregorianCalendar gc(*TimeZone::getGMT(), status); in TestFebruary()
1937 TimeZone *timezones[] = { &tz1, &tz2 }; in TestFebruary()
1939 TimeZone *tz; in TestFebruary()
1981 UnicodeString *pResult = &TimeZone::getCanonicalID(bogus, canonicalID, ec); in TestCanonicalIDAPI()
1988 pResult = &TimeZone::getCanonicalID(berlin, canonicalID, ec); in TestCanonicalIDAPI()
1995 pResult = &TimeZone::getCanonicalID(berlin, canonicalID, ec); in TestCanonicalIDAPI()
2115 StringEnumeration* s = TimeZone::createEnumeration(); in TestCanonicalID()
2124 int32_t nEquiv = TimeZone::countEquivalentIDs(*tzid); in TestCanonicalID()
2134 UnicodeString tmp = TimeZone::getEquivalentID(*tzid, j); in TestCanonicalID()
2135 TimeZone::getCanonicalID(tmp, tmpCanonical, ec); in TestCanonicalID()
2201 TimeZone::getCanonicalID(UnicodeString(data[i].id), canonicalID, isSystemID, ec); in TestCanonicalID()
2229 TimeZone::EDisplayType style;
2233 {"Europe/London", "en", FALSE, TimeZone::SHORT, "GMT"},
2234 {"Europe/London", "en", FALSE, TimeZone::LONG, "Greenwich Mean Time"},
2235 {"Europe/London", "en", TRUE, TimeZone::SHORT, "GMT+1" /*"BST"*/},
2236 {"Europe/London", "en", TRUE, TimeZone::LONG, "British Summer Time"},
2238 {"America/Anchorage", "en", FALSE, TimeZone::SHORT, "AKST"},
2239 {"America/Anchorage", "en", FALSE, TimeZone::LONG, "Alaska Standard Time"},
2240 {"America/Anchorage", "en", TRUE, TimeZone::SHORT, "AKDT"},
2241 {"America/Anchorage", "en", TRUE, TimeZone::LONG, "Alaska Daylight Time"},
2244 {"Australia/Perth", "en", FALSE, TimeZone::SHORT, "GMT+8"/*"AWST"*/},
2245 {"Australia/Perth", "en", FALSE, TimeZone::LONG, "Australian Western Standard Time"},
2249 {"Australia/Perth", "en", TRUE, TimeZone::SHORT, "GMT+8"/*"AWDT"*/},
2250 {"Australia/Perth", "en", TRUE, TimeZone::LONG, "Australian Western Daylight Time"},
2252 {"America/Sao_Paulo", "en", FALSE, TimeZone::SHORT, "GMT-3"/*"BRT"*/},
2253 {"America/Sao_Paulo", "en", FALSE, TimeZone::LONG, "Brasilia Standard Time"},
2254 {"America/Sao_Paulo", "en", TRUE, TimeZone::SHORT, "GMT-2"/*"BRST"*/},
2255 {"America/Sao_Paulo", "en", TRUE, TimeZone::LONG, "Brasilia Summer Time"},
2258 {"Pacific/Honolulu", "en", FALSE, TimeZone::SHORT, "HST"},
2259 {"Pacific/Honolulu", "en", FALSE, TimeZone::LONG, "Hawaii-Aleutian Standard Time"},
2260 {"Pacific/Honolulu", "en", TRUE, TimeZone::SHORT, "HDT"},
2261 {"Pacific/Honolulu", "en", TRUE, TimeZone::LONG, "Hawaii-Aleutian Daylight Time"},
2264 {"Europe/Helsinki", "en", FALSE, TimeZone::SHORT, "GMT+2"/*"EET"*/},
2265 {"Europe/Helsinki", "en", FALSE, TimeZone::LONG, "Eastern European Standard Time"},
2266 {"Europe/Helsinki", "en", TRUE, TimeZone::SHORT, "GMT+3"/*"EEST"*/},
2267 {"Europe/Helsinki", "en", TRUE, TimeZone::LONG, "Eastern European Summer Time"},
2271 {"Europe/London", "en", TRUE, TimeZone::SHORT, "GMT+1" /*"BST"*/},
2272 {"Europe/London", "en", TRUE, TimeZone::LONG, "British Summer Time"},
2274 {NULL, NULL, FALSE, TimeZone::SHORT, NULL} // NULL values terminate list
2279 GregorianCalendar cal(*TimeZone::getGMT(), status); in TestDisplayNamesMeta()
2285 TimeZone *zone = TimeZone::createTimeZone(zoneDisplayTestData[testNum].zoneName); in TestDisplayNamesMeta()
2302 zoneDisplayTestData[testNum].style==TimeZone::SHORT ? in TestDisplayNamesMeta()
2314 zoneDisplayTestData[testNum].style==TimeZone::SHORT ? in TestDisplayNamesMeta()
2357 TimeZone::getRegion(data[i].id, region, sizeof(region), sts); in TestGetRegion()
2383 len = TimeZone::getRegion("America/New_York", region2, sizeof(region2), sts); in TestGetRegion()
2401 len = TimeZone::getRegion("America/Chicago", region1, sizeof(region1), sts); in TestGetRegion()
2415 const TimeZone &unknown = TimeZone::getUnknown(); in TestGetUnknown()
2446 TimeZone::getWindowsID(UnicodeString(TESTDATA[i].id), windowsID, sts); in TestGetWindowsID()
2474 TimeZone::getIDForWindowsID(UnicodeString(TESTDATA[i].winid), TESTDATA[i].region, in TestGetIDForWindowsID()