• Home
  • Raw
  • Download

Lines Matching refs:TimeZone

97     TimeZone* zoneclone = zone->clone();  in TestGenericAPI()
113 TimeZone* saveDefault = TimeZone::createDefault(); in TestGenericAPI()
116 TimeZone::adoptDefault(zone); in TestGenericAPI()
117 TimeZone* defaultzone = TimeZone::createDefault(); in TestGenericAPI()
121 TimeZone::adoptDefault(saveDefault); in TestGenericAPI()
141 TimeZone* hostZone = TimeZone::detectHostTimeZone(); in TestGenericAPI()
152 const char* tzver = TimeZone::getTZDataVersion(status); in TestGenericAPI()
241 TimeZoneTest::findTransition(const TimeZone& tz, in findTransition()
271 TimeZoneTest::testUsingBinarySearch(const TimeZone& tz, in testUsingBinarySearch()
317 TimeZone* tz = TimeZone::createTimeZone("PRT"); in TestPRTOffset()
344 TimeZone* time_zone = TimeZone::createTimeZone("PST"); in TestVariousAPI518()
378 const UnicodeString** ids = TimeZone::createAvailableIDs(numIDs); in TestGetAvailableIDs913()
394 ids = TimeZone::createAvailableIDs(-8*U_MILLIS_PER_HOUR, numIDs); in TestGetAvailableIDs913()
409 ids = TimeZone::createAvailableIDs("US", numIDs); in TestGetAvailableIDs913()
428 StringEnumeration* s = TimeZone::createEnumeration(); in TestGetAvailableIDs913()
465 TimeZone *z = TimeZone::createTimeZone(*id); in TestGetAvailableIDs913()
484 s = TimeZone::createEnumeration(1 * U_MILLIS_PER_HOUR); in TestGetAvailableIDs913()
498 s = TimeZone::createEnumeration("US"); in TestGetAvailableIDs913()
507 TimeZone *tz = TimeZone::createTimeZone("PST"); in TestGetAvailableIDs913()
511 tz = TimeZone::createTimeZone("America/Los_Angeles"); in TestGetAvailableIDs913()
517 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()
910 TimeZone *tz = TimeZone::createTimeZone(itsID); in TestShortZoneIDs()
911 if (!tz || (kReferenceList[i].offset != 0 && *tz == *TimeZone::getGMT())) { in TestShortZoneIDs()
1002 TimeZone *tz1 = TimeZone::createTimeZone(zone1); in TestShortZoneIDs()
1003 TimeZone *tz2 = TimeZone::createTimeZone(zone2); in TestShortZoneIDs()
1171 TimeZone *zone = TimeZone::createTimeZone(id); in TestCustomParse()
1354 TimeZone::EDisplayType styles[] = { TimeZone::SHORT, TimeZone::LONG }; in TestAliasedNames()
1360 TimeZone *from = NULL, *to = NULL; in TestAliasedNames()
1362 from = TimeZone::createTimeZone(kData[i].from); in TestAliasedNames()
1363 to = TimeZone::createTimeZone(kData[i].to); in TestAliasedNames()
1415 TimeZone *zone = TimeZone::createTimeZone("PST"); in TestDisplayName()
1430 TimeZone::EDisplayType style; in TestDisplayName()
1433 {FALSE, TimeZone::SHORT, "PST"}, in TestDisplayName()
1434 {TRUE, TimeZone::SHORT, "PDT"}, in TestDisplayName()
1435 {FALSE, TimeZone::LONG, "Pacific Standard Time"}, in TestDisplayName()
1436 {TRUE, TimeZone::LONG, "Pacific Daylight Time"}, in TestDisplayName()
1438 {FALSE, TimeZone::SHORT_GENERIC, "PT"}, in TestDisplayName()
1439 {TRUE, TimeZone::SHORT_GENERIC, "PT"}, in TestDisplayName()
1440 {FALSE, TimeZone::LONG_GENERIC, "Pacific Time"}, in TestDisplayName()
1441 {TRUE, TimeZone::LONG_GENERIC, "Pacific Time"}, in TestDisplayName()
1443 {FALSE, TimeZone::SHORT_GMT, "-0800"}, in TestDisplayName()
1444 {TRUE, TimeZone::SHORT_GMT, "-0700"}, in TestDisplayName()
1445 {FALSE, TimeZone::LONG_GMT, "GMT-08:00"}, in TestDisplayName()
1446 {TRUE, TimeZone::LONG_GMT, "GMT-07:00"}, in TestDisplayName()
1448 {FALSE, TimeZone::SHORT_COMMONLY_USED, "PST"}, in TestDisplayName()
1449 {TRUE, TimeZone::SHORT_COMMONLY_USED, "PDT"}, in TestDisplayName()
1450 {FALSE, TimeZone::GENERIC_LOCATION, "Los Angeles Time"}, in TestDisplayName()
1451 {TRUE, TimeZone::GENERIC_LOCATION, "Los Angeles Time"}, in TestDisplayName()
1453 {FALSE, TimeZone::LONG, ""} in TestDisplayName()
1701 TimeZone* tz_icu = TimeZone::createTimeZone(tzName); in TestFractionalDST()
1723 StringEnumeration* s = TimeZone::createEnumeration("US"); in TestCountries()
1753 s = TimeZone::createEnumeration("JP"); in TestCountries()
1770 StringEnumeration* s1 = TimeZone::createEnumeration("US"); in TestCountries()
1771 StringEnumeration* s2 = TimeZone::createEnumeration("US"); in TestCountries()
1777 TimeZone* tz1 = TimeZone::createTimeZone(*id1); in TestCountries()
1783 TimeZone* tz2 = TimeZone::createTimeZone(*id2); in TestCountries()
1822 TimeZone *tz = TimeZone::createTimeZone(id); in TestHistorical()
1852 int32_t n = TimeZone::countEquivalentIDs("PST"); in TestEquivalentIDs()
1858 UnicodeString id = TimeZone::getEquivalentID("PST", i); in TestEquivalentIDs()
1908 GregorianCalendar gc(*TimeZone::getGMT(), status); in TestFebruary()
1941 TimeZone *timezones[] = { &tz1, &tz2 }; in TestFebruary()
1943 TimeZone *tz; in TestFebruary()
1985 UnicodeString *pResult = &TimeZone::getCanonicalID(bogus, canonicalID, ec); in TestCanonicalIDAPI()
1992 pResult = &TimeZone::getCanonicalID(berlin, canonicalID, ec); in TestCanonicalIDAPI()
1999 pResult = &TimeZone::getCanonicalID(berlin, canonicalID, ec); in TestCanonicalIDAPI()
2121 StringEnumeration* s = TimeZone::createEnumeration(); in TestCanonicalID()
2130 int32_t nEquiv = TimeZone::countEquivalentIDs(*tzid); in TestCanonicalID()
2140 UnicodeString tmp = TimeZone::getEquivalentID(*tzid, j); in TestCanonicalID()
2141 TimeZone::getCanonicalID(tmp, tmpCanonical, ec); in TestCanonicalID()
2207 TimeZone::getCanonicalID(UnicodeString(data[i].id), canonicalID, isSystemID, ec); in TestCanonicalID()
2235 TimeZone::EDisplayType style;
2239 {"Europe/London", "en", FALSE, TimeZone::SHORT, "GMT"},
2240 {"Europe/London", "en", FALSE, TimeZone::LONG, "Greenwich Mean Time"},
2241 {"Europe/London", "en", TRUE, TimeZone::SHORT, "GMT+1" /*"BST"*/},
2242 {"Europe/London", "en", TRUE, TimeZone::LONG, "British Summer Time"},
2244 {"America/Anchorage", "en", FALSE, TimeZone::SHORT, "AKST"},
2245 {"America/Anchorage", "en", FALSE, TimeZone::LONG, "Alaska Standard Time"},
2246 {"America/Anchorage", "en", TRUE, TimeZone::SHORT, "AKDT"},
2247 {"America/Anchorage", "en", TRUE, TimeZone::LONG, "Alaska Daylight Time"},
2250 {"Australia/Perth", "en", FALSE, TimeZone::SHORT, "GMT+8"/*"AWST"*/},
2251 {"Australia/Perth", "en", FALSE, TimeZone::LONG, "Australian Western Standard Time"},
2255 {"Australia/Perth", "en", TRUE, TimeZone::SHORT, "GMT+8"/*"AWDT"*/},
2256 {"Australia/Perth", "en", TRUE, TimeZone::LONG, "Australian Western Daylight Time"},
2258 {"America/Sao_Paulo", "en", FALSE, TimeZone::SHORT, "GMT-3"/*"BRT"*/},
2259 {"America/Sao_Paulo", "en", FALSE, TimeZone::LONG, "Brasilia Standard Time"},
2267 {"Pacific/Honolulu", "en", FALSE, TimeZone::SHORT, "HST"},
2268 {"Pacific/Honolulu", "en", FALSE, TimeZone::LONG, "Hawaii-Aleutian Standard Time"},
2269 {"Pacific/Honolulu", "en", TRUE, TimeZone::SHORT, "HDT"},
2270 {"Pacific/Honolulu", "en", TRUE, TimeZone::LONG, "Hawaii-Aleutian Daylight Time"},
2273 {"Europe/Helsinki", "en", FALSE, TimeZone::SHORT, "GMT+2"/*"EET"*/},
2274 {"Europe/Helsinki", "en", FALSE, TimeZone::LONG, "Eastern European Standard Time"},
2275 {"Europe/Helsinki", "en", TRUE, TimeZone::SHORT, "GMT+3"/*"EEST"*/},
2276 {"Europe/Helsinki", "en", TRUE, TimeZone::LONG, "Eastern European Summer Time"},
2280 {"Europe/London", "en", TRUE, TimeZone::SHORT, "GMT+1" /*"BST"*/},
2281 {"Europe/London", "en", TRUE, TimeZone::LONG, "British Summer Time"},
2283 {NULL, NULL, FALSE, TimeZone::SHORT, NULL} // NULL values terminate list
2288 GregorianCalendar cal(*TimeZone::getGMT(), status); in TestDisplayNamesMeta()
2294 TimeZone *zone = TimeZone::createTimeZone(zoneDisplayTestData[testNum].zoneName); in TestDisplayNamesMeta()
2311 zoneDisplayTestData[testNum].style==TimeZone::SHORT ? in TestDisplayNamesMeta()
2323 zoneDisplayTestData[testNum].style==TimeZone::SHORT ? in TestDisplayNamesMeta()
2366 TimeZone::getRegion(data[i].id, region, sizeof(region), sts); in TestGetRegion()
2392 len = TimeZone::getRegion("America/New_York", region2, sizeof(region2), sts); in TestGetRegion()
2410 len = TimeZone::getRegion("America/Chicago", region1, sizeof(region1), sts); in TestGetRegion()
2424 const TimeZone &unknown = TimeZone::getUnknown(); in TestGetUnknown()
2433 const TimeZone *gmt = TimeZone::getGMT(); in TestGetGMT()
2464 TimeZone::getWindowsID(UnicodeString(TESTDATA[i].id), windowsID, sts); in TestGetWindowsID()
2492 TimeZone::getIDForWindowsID(UnicodeString(TESTDATA[i].winid), TESTDATA[i].region, in TestGetIDForWindowsID()