/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
H A D | time_zone_format_test.cc | 37 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ 39 time_zone::absolute_lookup al = tz.lookup(tp); \ 60 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument 62 EXPECT_EQ(ans, format(fmt, tp, tz)) << fmt; in TestFormatSpecifier() 63 EXPECT_EQ("xxx " + ans, format("xxx " + fmt, tp, tz)); in TestFormatSpecifier() 64 EXPECT_EQ(ans + " yyy", format(fmt + " yyy", tp, tz)); in TestFormatSpecifier() 65 EXPECT_EQ("xxx " + ans + " yyy", format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier() 131 time_zone tz = utc_time_zone(); in TEST() local 135 EXPECT_EQ("", format("", tp, tz)); in TEST() 136 EXPECT_EQ(" ", format(" ", tp, tz)); in TEST() 156 const time_zone tz = utc_time_zone(); TEST() local 198 const time_zone tz = utc_time_zone(); TEST() local 247 const time_zone tz = utc_time_zone(); TEST() local 266 const time_zone tz = utc_time_zone(); TEST() local 328 const time_zone tz = utc_time_zone(); TEST() local 390 const time_zone tz = utc_time_zone(); TEST() local 434 auto tz = fixed_time_zone(absl::time_internal::cctz::seconds::zero()); TEST() local 515 auto tz = fixed_time_zone(absl::time_internal::cctz::seconds::zero()); TEST() local 627 time_zone tz; TEST() local 674 time_zone tz; TEST() local 776 time_zone tz = utc_time_zone(); TEST() local 794 time_zone tz; TEST() local 819 time_zone tz; TEST() local 844 const time_zone tz = utc_time_zone(); TEST() local 887 time_zone tz = utc_time_zone(); TEST() local 1000 time_zone tz = utc_time_zone(); TEST() local 1131 const time_zone tz = utc_time_zone(); TEST() local 1193 const time_zone tz = utc_time_zone(); TEST() local 1213 const time_zone tz = utc_time_zone(); TEST() local 1271 const time_zone tz = utc_time_zone(); TEST() local 1405 const time_zone tz = utc_time_zone(); TEST() local [all...] |
H A D | time_zone_lookup_test.cc | 636 time_zone tz; in LoadZone() local 637 load_time_zone(name, &tz); in LoadZone() 638 return tz; in LoadZone() 643 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ 645 time_zone::absolute_lookup al = tz.lookup(tp); \ 662 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument 663 std::string version = tz.version(); in VersionCmp() 680 time_zone tz; in TEST() 681 if (load_time_zone(zone, &tz)) { in TEST() 682 EXPECT_EQ(zone, tz in TEST() 751 time_zone tz; TEST() local 850 const time_zone tz = utc_time_zone(); TEST() local 857 const time_zone tz = utc_time_zone(); TEST() local 866 const time_zone tz = utc_time_zone(); TEST() local 875 const time_zone tz = fixed_time_zone(offset); TEST() local 883 const time_zone tz = LoadZone("America/New_York"); TEST() local 890 const time_zone tz = LoadZone("America/Los_Angeles"); TEST() local 897 const time_zone tz = LoadZone("Australia/Sydney"); TEST() local 934 const time_zone tz = LoadZone("America/New_York"); TEST() local 1118 const auto tz = utc_time_zone(); TEST() local 1129 const auto tz = utc_time_zone(); TEST() local 1140 const auto tz = LoadZone("America/New_York"); TEST() local 1164 const auto tz = LoadZone("America/New_York"); TEST() local 1181 const time_zone tz = LoadZone("America/New_York"); TEST() local 1197 const time_zone tz = LoadZone("America/Los_Angeles"); TEST() local 1213 const time_zone tz = LoadZone("America/Phoenix"); TEST() local 1229 const time_zone tz = LoadZone("Asia/Kathmandu"); TEST() local 1242 const time_zone tz = LoadZone("Pacific/Chatham"); TEST() local 1262 const time_zone tz = LoadZone("Australia/Lord_Howe"); TEST() local 1282 const time_zone tz = LoadZone("Pacific/Apia"); TEST() local 1301 const time_zone tz = LoadZone("Africa/Cairo"); TEST() local 1316 const time_zone tz = LoadZone("Africa/Monrovia"); TEST() local 1336 const time_zone tz = LoadZone("America/Jamaica"); TEST() local 1373 const time_zone tz = LoadZone("WET"); TEST() local 1416 const time_zone tz = utc_time_zone(); TEST() local 1426 const time_zone tz = utc_time_zone(); TEST() local 1439 const time_zone tz = utc_time_zone(); TEST() local [all...] |
H A D | cctz_benchmark.cc | 716 cctz::time_zone tz; in TestTimeZone() local 717 cctz::load_time_zone("America/Los_Angeles", &tz); in TestTimeZone() 718 return tz; in TestTimeZone() 722 cctz::time_zone tz; in BM_Zone_LoadUTCTimeZoneFirst() local 723 cctz::load_time_zone("UTC", &tz); // in case we're first in BM_Zone_LoadUTCTimeZoneFirst() 726 benchmark::DoNotOptimize(cctz::load_time_zone("UTC", &tz)); in BM_Zone_LoadUTCTimeZoneFirst() 732 cctz::time_zone tz; in BM_Zone_LoadUTCTimeZoneLast() local 734 cctz::load_time_zone(name, &tz); // prime cache in BM_Zone_LoadUTCTimeZoneLast() 737 benchmark::DoNotOptimize(cctz::load_time_zone("UTC", &tz)); in BM_Zone_LoadUTCTimeZoneLast() 743 cctz::time_zone tz in BM_Zone_LoadTimeZoneFirst() local 755 cctz::time_zone tz = cctz::utc_time_zone(); // in case we're first BM_Zone_LoadTimeZoneCached() local 776 cctz::time_zone tz; BM_Zone_LoadAllTimeZonesFirst() local 793 cctz::time_zone tz; BM_Zone_LoadAllTimeZonesCached() local 808 cctz::time_zone tz; // implicit UTC BM_Zone_TimeZoneEqualityImplicit() local 816 cctz::time_zone tz = cctz::utc_time_zone(); // explicit UTC BM_Zone_TimeZoneEqualityExplicit() local 824 cctz::time_zone tz; BM_Zone_UTCTimeZone() local 838 const cctz::time_zone tz = TestTimeZone(); BM_Time_ToCivil_CCTZ() local 869 const cctz::time_zone tz = cctz::utc_time_zone(); BM_Time_ToCivilUTC_CCTZ() local 901 const cctz::time_zone tz = TestTimeZone(); BM_Time_FromCivil_CCTZ() local 942 const cctz::time_zone tz = cctz::utc_time_zone(); BM_Time_FromCivilUTC_CCTZ() local 953 const cctz::time_zone tz = TestTimeZone(); BM_Time_FromCivilDay0_CCTZ() local 1006 const cctz::time_zone tz = TestTimeZone(); BM_Format_FormatTime() local 1019 const cctz::time_zone tz = TestTimeZone(); BM_Format_ParseTime() local [all...] |
H A D | time_zone_lookup.cc | 108 bool load_time_zone(const std::string& name, time_zone* tz) { in load_time_zone() argument 109 return time_zone::Impl::LoadTimeZone(name, tz); in load_time_zone() 117 time_zone tz; in fixed_time_zone() local 118 load_time_zone(FixedOffsetToName(offset), &tz); in fixed_time_zone() local 119 return tz; in fixed_time_zone() 176 time_zone tz; in local_time_zone() local 177 load_time_zone(name, &tz); // Falls back to UTC. in local_time_zone() 181 return tz; in local_time_zone()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
H A D | time_zone_test.cc | 26 absl::TimeZone tz; in TEST() local 27 absl::TimeZone tz2 = tz; // Copy-construct in TEST() 28 EXPECT_EQ(tz, tz2); in TEST() 29 tz2 = tz; // Copy-assign in TEST() 30 EXPECT_EQ(tz, tz2); in TEST() 50 const absl::TimeZone tz(cz); in TEST() 51 EXPECT_EQ(cz, cctz::time_zone(tz)); in TEST() 55 absl::TimeZone tz; in TEST() local 61 const absl::TimeZone tz = absl::FixedTimeZone(123); in TEST() local 63 EXPECT_EQ(tz, abs in TEST() 68 absl::TimeZone tz = absl::time_internal::LoadTimeZone("localtime"); TEST() local 82 absl::TimeZone tz = absl::time_internal::LoadTimeZone("America/Los_Angeles"); TEST() local 84 EXPECT_EQ(absl::UTCTimeZone(), tz); // guaranteed fallback to UTC TEST() local 89 EXPECT_EQ(absl::UTCTimeZone(), tz); // guaranteed fallback to UTC TEST() local 94 EXPECT_EQ(absl::UTCTimeZone(), tz); // guaranteed fallback to UTC TEST() local [all...] |
H A D | format_test.cc | 30 void TestFormatSpecifier(absl::Time t, absl::TimeZone tz, in TestFormatSpecifier() argument 32 EXPECT_EQ(ans, absl::FormatTime(fmt, t, tz)); in TestFormatSpecifier() 33 EXPECT_EQ("xxx " + ans, absl::FormatTime("xxx " + fmt, t, tz)); in TestFormatSpecifier() 34 EXPECT_EQ(ans + " yyy", absl::FormatTime(fmt + " yyy", t, tz)); in TestFormatSpecifier() 36 absl::FormatTime("xxx " + fmt + " yyy", t, tz)); in TestFormatSpecifier() 44 absl::TimeZone tz = absl::UTCTimeZone(); in TEST() local 48 EXPECT_EQ("", absl::FormatTime("", t, tz)); in TEST() 49 EXPECT_EQ(" ", absl::FormatTime(" ", t, tz)); in TEST() 50 EXPECT_EQ(" ", absl::FormatTime(" ", t, tz)); in TEST() 51 EXPECT_EQ("xxx", absl::FormatTime("xxx", t, tz)); in TEST() 68 const absl::TimeZone tz = absl::UTCTimeZone(); TEST() local 88 const absl::TimeZone tz = absl::UTCTimeZone(); TEST() local 118 absl::TimeZone tz = absl::UTCTimeZone(); TEST() local 129 absl::TimeZone tz = absl::time_internal::LoadTimeZone("America/Los_Angeles"); TEST() local 171 const absl::TimeZone tz = TEST() local 331 absl::TimeZone tz = absl::UTCTimeZone(); TEST() local 416 const absl::TimeZone tz = absl::UTCTimeZone(); TEST() local 429 const absl::TimeZone tz = absl::UTCTimeZone(); TEST() local [all...] |
/third_party/node/deps/v8/src/date/ |
H A D | dateparser-inl.h | 19 TimeZoneComposer tz; in Parse() local 72 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz); in Parse() 100 } else if (tz.IsExpecting(n)) { in Parse() 101 tz.SetAbsoluteMinute(n); in Parse() 125 tz.Set(value); in Parse() 133 } else if (token.IsAsciiSign() && (tz.IsUTC() || !time.IsEmpty())) { in Parse() 136 tz.SetSign(token.ascii_sign()); in Parse() 148 tz.SetAbsoluteHour(n); in Parse() 150 tz.SetAbsoluteMinute(kNone); in Parse() 153 tz in Parse() 237 ParseES5DateTime( DateStringTokenizer<Char>* scanner, DayComposer* day, TimeComposer* time, TimeZoneComposer* tz) ParseES5DateTime() argument [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/time/ |
H A D | gmtime_sup.c | 23 const char *tz; member 479 const char *tz = gResultData[i].tz; in gmtime_0100() local 482 char *str = strrchr(tz, TIME_ZONE_SUB_TAG); in gmtime_0100() 486 handlerChar = tz; in gmtime_0100() 489 handlerChar = tz; in gmtime_0100() 522 const char *tz = gResultData[i].tz; in gmtime64_0100() local 525 char *str = strrchr(tz, TIME_ZONE_SUB_TAG); in gmtime64_0100() 529 handlerChar = tz; in gmtime64_0100() [all...] |
H A D | gmtime_r_sup.c | 23 const char *tz; member 479 const char *tz = gResultData[i].tz; in gmtime_r_0100() local 482 char *str = strrchr(tz, TIME_ZONE_SUB_TAG); in gmtime_r_0100() 486 handlerChar = tz; in gmtime_r_0100() 489 handlerChar = tz; in gmtime_r_0100() 522 const char *tz = gResultData[i].tz; in gmtime64_r_0100() local 525 char *str = strrchr(tz, TIME_ZONE_SUB_TAG); in gmtime64_r_0100() 529 handlerChar = tz; in gmtime64_r_0100() [all...] |
H A D | mktime_sup.c | 21 const char *tz; member 475 const char *tz = gResultData[i].tz; in mktime_0100() local 478 char *str = strrchr(tz, TIME_ZONE_SUB_TAG); in mktime_0100() 482 handlerChar = tz; in mktime_0100() 485 handlerChar = tz; in mktime_0100()
|
H A D | difftime_sup.c | 21 const char *tz; member 475 const char *tz = gResultData[i].tz; in difftime_0100() local 478 char *str = strrchr(tz, TIME_ZONE_SUB_TAG); in difftime_0100() 482 handlerChar = tz; in difftime_0100() 485 handlerChar = tz; in difftime_0100()
|
H A D | time_sup.c | 27 const char *tz; member 46 const char *tz = gResultData[i].tz; in time_0100() local 49 char *str = strrchr(tz, TIME_ZONE_SUB_TAG); in time_0100() 53 handlerChar = tz; in time_0100() 56 handlerChar = tz; in time_0100()
|
/third_party/musl/libc-test/src/functionalext/common/ |
H A D | time_test_data.h | 24 const char *tz; member 29 const char *tz; member 34 const char *tz; member 38 static const char *test_handle_path(const char *tz) in test_handle_path() argument 40 const char *p = tz; in test_handle_path() 41 if (tz) { in test_handle_path() 43 char *str = strrchr(tz, TIME_ZONE_SUB_TAG); in test_handle_path()
|
/third_party/icu/icu4c/source/tools/tzcode/ |
H A D | icuzdump.cpp | 119 void setTimeZone(TimeZone* tz) { in setTimeZone() argument 120 timezone = tz; in setTimeZone() 242 TimeZone* tz = NULL; in next() local 247 tz = TimeZone::createTimeZone(*zid); in next() 253 tz = TimeZone::createTimeZone((const UnicodeString&)zids[idx]); in next() 256 tz = TimeZone::createDefault(); in next() 261 return tz; in next() 378 TimeZone* tz = zit->next(); in main() local 379 if (tz == NULL) { in main() 382 dumper.setTimeZone(tz); in main() 409 TimeZone* tz = zit->next(); main() local [all...] |
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
H A D | icuzdump.cpp | 119 void setTimeZone(TimeZone* tz) { in setTimeZone() argument 120 timezone = tz; in setTimeZone() 240 TimeZone* tz = NULL; in next() local 245 tz = TimeZone::createTimeZone(*zid); in next() 251 tz = TimeZone::createTimeZone((const UnicodeString&)zids[idx]); in next() 254 tz = TimeZone::createDefault(); in next() 259 return tz; in next() 376 TimeZone* tz = zit->next(); in main() local 377 if (tz == NULL) { in main() 380 dumper.setTimeZone(tz); in main() 407 TimeZone* tz = zit->next(); main() local [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tzbdtest.cpp | 118 TimeZoneBoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary, TimeZone* tz) in findDaylightBoundaryUsingTimeZone() argument 124 if (tz->inDaylightTime(d, status) != startsInDST) { in findDaylightBoundaryUsingTimeZone() 125 dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(d) + ") != " + (startsInDST ? "true" : "false")); in findDaylightBoundaryUsingTimeZone() 129 if (tz->inDaylightTime(max, status) == startsInDST) { in findDaylightBoundaryUsingTimeZone() 130 dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(max) + ") != " + (startsInDST ? "false" : "true")); in findDaylightBoundaryUsingTimeZone() 136 UBool isIn = tz->inDaylightTime(mid, status); in findDaylightBoundaryUsingTimeZone() 145 logln(tz->getID(str) + " Before: " + showDate(min)); in findDaylightBoundaryUsingTimeZone() 146 logln(tz->getID(str) + " After: " + showDate(max)); in findDaylightBoundaryUsingTimeZone() 339 TimeZone *tz; in TestBoundaries() local 340 TimeZone::setDefault(*(tz in TestBoundaries() 384 testUsingBinarySearch(SimpleTimeZone* tz, UDate d, UDate expectedBoundary) testUsingBinarySearch() argument 427 SimpleTimeZone *tz; TestNewRules() local [all...] |
H A D | tztest.cpp | 247 TimeZoneTest::findTransition(const TimeZone& tz, in findTransition() argument 251 UBool startsInDST = tz.inDaylightTime(min, ec); in findTransition() 253 if (tz.inDaylightTime(max, ec) == startsInDST) { in findTransition() 254 logln("Error: " + tz.getID(id) + ".inDaylightTime(" + dateToString(min) + ") = " + (startsInDST?"true":"false") + in findTransition() 261 if (tz.inDaylightTime(mid, ec) == startsInDST) { in findTransition() 270 logln(tz.getID(id) + " Before: " + min/1000 + " = " + in findTransition() 271 dateToString(min,s,tz)); in findTransition() 272 logln(tz.getID(id) + " After: " + max/1000 + " = " + in findTransition() 273 dateToString(max,s,tz)); in findTransition() 277 TimeZoneTest::testUsingBinarySearch(const TimeZone& tz, in testUsingBinarySearch() argument 323 TimeZone* tz = TimeZone::createTimeZone("PRT"); TestPRTOffset() local 533 TimeZone *tz = TimeZone::createTimeZone("PST"); TestGetAvailableIDs913() local 726 TimeZone *tz = TimeZone::createTimeZone(*id1); TestGetAvailableIDsNew() local 936 TimeZone *tz = TimeZone::createTimeZone(itsID); TestShortZoneIDs() local 1604 SimpleTimeZone *tz = new SimpleTimeZone(-5 * U_MILLIS_PER_HOUR, "dstSavingsTest", TestDSTSavings() local 1855 TimeZone *tz = TimeZone::createTimeZone(id); TestHistorical() local 1976 TimeZone *tz; TestFebruary() local 2596 const char* tz; TestRawOffsetAndOffsetConsistency22041() local [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
H A D | TimeZoneTest.java | 157 // Per https://mm.icann.org/pipermail/tz-announce/2019-July/000056.html in TestShortZoneIDs() 477 TimeZone tz = TimeZone.getTimeZone(timezones[i]); in TestDisplayName2() 478 String displayName0 = tz.getDisplayName(locale); in TestDisplayName2() 480 dt.setTimeZone(tz); in TestDisplayName2() 482 logln(locale.getDisplayName() + ", " + tz.getID() + ": " + displayName0); in TestDisplayName2() 488 if (tz.inDaylightTime(now)) { in TestDisplayName2() 490 displayName0 = tz.getDisplayName(true, TimeZone.LONG_GENERIC, locale); in TestDisplayName2() 493 errln(locale.getDisplayName() + ", " + tz.getID() + in TestDisplayName2() 642 void _testUsingBinarySearch(SimpleTimeZone tz, long min, long max, long expectedBoundary) in _testUsingBinarySearch() argument 645 boolean startsInDST = tz in _testUsingBinarySearch() 2237 isDaylightTimeAvailable(TimeZone tz, long start) isDaylightTimeAvailable() argument [all...] |
H A D | TimeZoneRegressionTest.java | 111 TimeZone tz = TimeZone.getTimeZone("PST"); in Test4084933() 113 long offset1 = tz.getOffset(1, in Test4084933() 115 long offset2 = tz.getOffset(1, in Test4084933() 118 long offset3 = tz.getOffset(1, in Test4084933() 120 long offset4 = tz.getOffset(1, in Test4084933() 128 long offset5 = tz.getOffset(1, in Test4084933() 130 long offset6 = tz.getOffset(1, in Test4084933() 133 long offset7 = tz.getOffset(1, in Test4084933() 135 long offset8 = tz.getOffset(1, in Test4084933() 317 TimeZone tz in Test4126678() [all...] |
H A D | TimeZoneBoundaryTest.java | 148 long expectedBoundary, TimeZone tz) in findDaylightBoundaryUsingTimeZone() 158 if (tz.inDaylightTime(d) != startsInDST) in findDaylightBoundaryUsingTimeZone() 160 errln("FAIL: " + tz.getID() + " inDaylightTime(" + in findDaylightBoundaryUsingTimeZone() 165 if (tz.inDaylightTime(new Date(max)) == startsInDST) in findDaylightBoundaryUsingTimeZone() 167 errln("FAIL: " + tz.getID() + " inDaylightTime(" + in findDaylightBoundaryUsingTimeZone() 175 boolean isIn = tz.inDaylightTime(new Date(mid)); in findDaylightBoundaryUsingTimeZone() 186 logln(tz.getID() + " Before: " + showDate(min, tz)); in findDaylightBoundaryUsingTimeZone() 187 logln(tz.getID() + " After: " + showDate(max, tz)); in findDaylightBoundaryUsingTimeZone() 147 findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, long expectedBoundary, TimeZone tz) findDaylightBoundaryUsingTimeZone() argument 654 _testUsingBinarySearch(SimpleTimeZone tz, Date d, long expectedBoundary) _testUsingBinarySearch() argument [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
H A D | TimeZoneTest.java | 153 // Per https://mm.icann.org/pipermail/tz-announce/2019-July/000056.html in TestShortZoneIDs() 473 TimeZone tz = TimeZone.getTimeZone(timezones[i]); in TestDisplayName2() 474 String displayName0 = tz.getDisplayName(locale); in TestDisplayName2() 476 dt.setTimeZone(tz); in TestDisplayName2() 478 logln(locale.getDisplayName() + ", " + tz.getID() + ": " + displayName0); in TestDisplayName2() 484 if (tz.inDaylightTime(now)) { in TestDisplayName2() 486 displayName0 = tz.getDisplayName(true, TimeZone.LONG_GENERIC, locale); in TestDisplayName2() 489 errln(locale.getDisplayName() + ", " + tz.getID() + in TestDisplayName2() 638 void _testUsingBinarySearch(SimpleTimeZone tz, long min, long max, long expectedBoundary) in _testUsingBinarySearch() argument 641 boolean startsInDST = tz in _testUsingBinarySearch() 2251 isDaylightTimeAvailable(TimeZone tz, long start) isDaylightTimeAvailable() argument [all...] |
H A D | TimeZoneRegressionTest.java | 108 TimeZone tz = TimeZone.getTimeZone("PST"); in Test4084933() 110 long offset1 = tz.getOffset(1, in Test4084933() 112 long offset2 = tz.getOffset(1, in Test4084933() 115 long offset3 = tz.getOffset(1, in Test4084933() 117 long offset4 = tz.getOffset(1, in Test4084933() 125 long offset5 = tz.getOffset(1, in Test4084933() 127 long offset6 = tz.getOffset(1, in Test4084933() 130 long offset7 = tz.getOffset(1, in Test4084933() 132 long offset8 = tz.getOffset(1, in Test4084933() 314 TimeZone tz in Test4126678() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/include/cctz/ |
H A D | time_zone.h | 92 // const cctz::time_zone tz = ... 94 // const cctz::time_zone::absolute_lookup al = tz.lookup(tp); 226 friend H AbslHashValue(H h, time_zone tz) { in AbslHashValue() argument 227 return H::combine(std::move(h), &tz.effective_impl()); in AbslHashValue() 240 // false and "*tz" is set to the UTC time zone. 241 bool load_time_zone(const std::string& name, time_zone* tz); 260 inline civil_second convert(const time_point<D>& tp, const time_zone& tz) { in convert() argument 261 return tz.lookup(tp).cs; in convert() 268 // guarantees that if cs1 < cs2, then convert(cs1, tz) <= convert(cs2, tz) 269 convert(const civil_second& cs, const time_zone& tz) convert() argument 314 format(const std::string& fmt, const time_point<D>& tp, const time_zone& tz) format() argument 368 parse(const std::string& fmt, const std::string& input, const time_zone& tz, time_point<D>* tpp) parse() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | DangiCalendar.java | 75 RuleBasedTimeZone tz = new RuleBasedTimeZone("KOREA_ZONE", initialTimeZone); 76 tz.addTransitionRule(rule1897); 77 tz.addTransitionRule(rule1898to1911); 78 tz.addTransitionRule(ruleFrom1912); 79 tz.freeze(); 80 KOREA_ZONE = tz;
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | DangiCalendar.java | 77 RuleBasedTimeZone tz = new RuleBasedTimeZone("KOREA_ZONE", initialTimeZone); 78 tz.addTransitionRule(rule1897); 79 tz.addTransitionRule(rule1898to1911); 80 tz.addTransitionRule(ruleFrom1912); 81 tz.freeze(); 82 KOREA_ZONE = tz;
|