Home
last modified time | relevance | path

Searched full:tz (Results 1 – 25 of 2633) sorted by relevance

12345678910>>...106

/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc37 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
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()
[all …]
Dtime_zone_lookup_test.cc636 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) \ argument
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() local
681 if (load_time_zone(zone, &tz)) { in TEST()
682 EXPECT_EQ(zone, tz.name()); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc42 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
44 time_zone::absolute_lookup al = tz.lookup(tp); \
65 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument
67 EXPECT_EQ(ans, format(fmt, tp, tz)) << fmt; in TestFormatSpecifier()
68 EXPECT_EQ("xxx " + ans, format("xxx " + fmt, tp, tz)); in TestFormatSpecifier()
69 EXPECT_EQ(ans + " yyy", format(fmt + " yyy", tp, tz)); in TestFormatSpecifier()
70 EXPECT_EQ("xxx " + ans + " yyy", format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier()
136 time_zone tz = utc_time_zone(); in TEST() local
140 EXPECT_EQ("", format("", tp, tz)); in TEST()
141 EXPECT_EQ(" ", format(" ", tp, tz)); in TEST()
[all …]
Dtime_zone_lookup_test.cc643 time_zone tz; in LoadZone() local
644 load_time_zone(name, &tz); in LoadZone()
645 return tz; in LoadZone()
650 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
652 time_zone::absolute_lookup al = tz.lookup(tp); \
669 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument
670 std::string version = tz.version(); in VersionCmp()
687 time_zone tz; in TEST() local
688 if (load_time_zone(zone, &tz)) { in TEST()
689 EXPECT_EQ(zone, tz.name()); in TEST()
[all …]
/external/cronet/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc42 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
44 time_zone::absolute_lookup al = tz.lookup(tp); \
65 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument
67 EXPECT_EQ(ans, absl::time_internal::cctz::format(fmt, tp, tz)) << fmt; in TestFormatSpecifier()
69 absl::time_internal::cctz::format("xxx " + fmt, tp, tz)); in TestFormatSpecifier()
71 absl::time_internal::cctz::format(fmt + " yyy", tp, tz)); in TestFormatSpecifier()
73 absl::time_internal::cctz::format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier()
142 time_zone tz = utc_time_zone(); in TEST() local
146 EXPECT_EQ("", absl::time_internal::cctz::format("", tp, tz)); in TEST()
147 EXPECT_EQ(" ", absl::time_internal::cctz::format(" ", tp, tz)); in TEST()
[all …]
Dtime_zone_lookup_test.cc532 time_zone tz; in LoadZone() local
533 load_time_zone(name, &tz); in LoadZone()
534 return tz; in LoadZone()
539 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
541 time_zone::absolute_lookup al = tz.lookup(tp); \
558 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument
559 std::string version = tz.version(); in VersionCmp()
576 time_zone tz; in TEST() local
577 if (load_time_zone(zone, &tz)) { in TEST()
578 EXPECT_EQ(zone, tz.name()); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc42 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
44 time_zone::absolute_lookup al = tz.lookup(tp); \
65 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument
67 EXPECT_EQ(ans, absl::time_internal::cctz::format(fmt, tp, tz)) << fmt; in TestFormatSpecifier()
69 absl::time_internal::cctz::format("xxx " + fmt, tp, tz)); in TestFormatSpecifier()
71 absl::time_internal::cctz::format(fmt + " yyy", tp, tz)); in TestFormatSpecifier()
73 absl::time_internal::cctz::format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier()
142 time_zone tz = utc_time_zone(); in TEST() local
146 EXPECT_EQ("", absl::time_internal::cctz::format("", tp, tz)); in TEST()
147 EXPECT_EQ(" ", absl::time_internal::cctz::format(" ", tp, tz)); in TEST()
[all …]
Dtime_zone_lookup_test.cc644 time_zone tz; in LoadZone() local
645 load_time_zone(name, &tz); in LoadZone()
646 return tz; in LoadZone()
651 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
653 time_zone::absolute_lookup al = tz.lookup(tp); \
670 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument
671 std::string version = tz.version(); in VersionCmp()
688 time_zone tz; in TEST() local
689 if (load_time_zone(zone, &tz)) { in TEST()
690 EXPECT_EQ(zone, tz.name()); in TEST()
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc42 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
44 time_zone::absolute_lookup al = tz.lookup(tp); \
65 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument
67 EXPECT_EQ(ans, format(fmt, tp, tz)) << fmt; in TestFormatSpecifier()
68 EXPECT_EQ("xxx " + ans, format("xxx " + fmt, tp, tz)); in TestFormatSpecifier()
69 EXPECT_EQ(ans + " yyy", format(fmt + " yyy", tp, tz)); in TestFormatSpecifier()
70 EXPECT_EQ("xxx " + ans + " yyy", format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier()
136 time_zone tz = utc_time_zone(); in TEST() local
140 EXPECT_EQ("", format("", tp, tz)); in TEST()
141 EXPECT_EQ(" ", format(" ", tp, tz)); in TEST()
[all …]
Dtime_zone_lookup_test.cc643 time_zone tz; in LoadZone() local
644 load_time_zone(name, &tz); in LoadZone()
645 return tz; in LoadZone()
650 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
652 time_zone::absolute_lookup al = tz.lookup(tp); \
669 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument
670 std::string version = tz.version(); in VersionCmp()
687 time_zone tz; in TEST() local
688 if (load_time_zone(zone, &tz)) { in TEST()
689 EXPECT_EQ(zone, tz.name()); in TEST()
[all …]
/external/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc42 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
44 time_zone::absolute_lookup al = tz.lookup(tp); \
65 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument
67 EXPECT_EQ(ans, absl::time_internal::cctz::format(fmt, tp, tz)) << fmt; in TestFormatSpecifier()
69 absl::time_internal::cctz::format("xxx " + fmt, tp, tz)); in TestFormatSpecifier()
71 absl::time_internal::cctz::format(fmt + " yyy", tp, tz)); in TestFormatSpecifier()
73 absl::time_internal::cctz::format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier()
142 time_zone tz = utc_time_zone(); in TEST() local
146 EXPECT_EQ("", absl::time_internal::cctz::format("", tp, tz)); in TEST()
147 EXPECT_EQ(" ", absl::time_internal::cctz::format(" ", tp, tz)); in TEST()
[all …]
Dtime_zone_lookup_test.cc532 time_zone tz; in LoadZone() local
533 load_time_zone(name, &tz); in LoadZone()
534 return tz; in LoadZone()
539 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
541 time_zone::absolute_lookup al = tz.lookup(tp); \
558 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument
559 std::string version = tz.version(); in VersionCmp()
576 time_zone tz; in TEST() local
577 if (load_time_zone(zone, &tz)) { in TEST()
578 EXPECT_EQ(zone, tz.name()); in TEST()
[all …]
/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc42 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
44 time_zone::absolute_lookup al = tz.lookup(tp); \
65 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument
67 EXPECT_EQ(ans, format(fmt, tp, tz)) << fmt; in TestFormatSpecifier()
68 EXPECT_EQ("xxx " + ans, format("xxx " + fmt, tp, tz)); in TestFormatSpecifier()
69 EXPECT_EQ(ans + " yyy", format(fmt + " yyy", tp, tz)); in TestFormatSpecifier()
70 EXPECT_EQ("xxx " + ans + " yyy", format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier()
136 time_zone tz = utc_time_zone(); in TEST() local
140 EXPECT_EQ("", format("", tp, tz)); in TEST()
141 EXPECT_EQ(" ", format(" ", tp, tz)); in TEST()
[all …]
Dtime_zone_lookup_test.cc643 time_zone tz; in LoadZone() local
644 load_time_zone(name, &tz); in LoadZone()
645 return tz; in LoadZone()
650 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
652 time_zone::absolute_lookup al = tz.lookup(tp); \
669 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument
670 std::string version = tz.version(); in VersionCmp()
687 time_zone tz; in TEST() local
688 if (load_time_zone(zone, &tz)) { in TEST()
689 EXPECT_EQ(zone, tz.name()); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc42 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
44 time_zone::absolute_lookup al = tz.lookup(tp); \
65 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument
67 EXPECT_EQ(ans, format(fmt, tp, tz)) << fmt; in TestFormatSpecifier()
68 EXPECT_EQ("xxx " + ans, format("xxx " + fmt, tp, tz)); in TestFormatSpecifier()
69 EXPECT_EQ(ans + " yyy", format(fmt + " yyy", tp, tz)); in TestFormatSpecifier()
70 EXPECT_EQ("xxx " + ans + " yyy", format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier()
136 time_zone tz = utc_time_zone(); in TEST() local
140 EXPECT_EQ("", format("", tp, tz)); in TEST()
141 EXPECT_EQ(" ", format(" ", tp, tz)); in TEST()
[all …]
Dtime_zone_lookup_test.cc643 time_zone tz; in LoadZone() local
644 load_time_zone(name, &tz); in LoadZone()
645 return tz; in LoadZone()
650 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
652 time_zone::absolute_lookup al = tz.lookup(tp); \
669 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument
670 std::string version = tz.version(); in VersionCmp()
687 time_zone tz; in TEST() local
688 if (load_time_zone(zone, &tz)) { in TEST()
689 EXPECT_EQ(zone, tz.name()); in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc42 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
44 time_zone::absolute_lookup al = tz.lookup(tp); \
65 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument
67 EXPECT_EQ(ans, absl::time_internal::cctz::format(fmt, tp, tz)) << fmt; in TestFormatSpecifier()
69 absl::time_internal::cctz::format("xxx " + fmt, tp, tz)); in TestFormatSpecifier()
71 absl::time_internal::cctz::format(fmt + " yyy", tp, tz)); in TestFormatSpecifier()
73 absl::time_internal::cctz::format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier()
142 time_zone tz = utc_time_zone(); in TEST() local
146 EXPECT_EQ("", absl::time_internal::cctz::format("", tp, tz)); in TEST()
147 EXPECT_EQ(" ", absl::time_internal::cctz::format(" ", tp, tz)); in TEST()
[all …]
Dtime_zone_lookup_test.cc532 time_zone tz; in LoadZone() local
533 load_time_zone(name, &tz); in LoadZone()
534 return tz; in LoadZone()
539 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
541 time_zone::absolute_lookup al = tz.lookup(tp); \
558 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp() argument
559 std::string version = tz.version(); in VersionCmp()
576 time_zone tz; in TEST() local
577 if (load_time_zone(zone, &tz)) { in TEST()
578 EXPECT_EQ(zone, tz.name()); in TEST()
[all …]
/external/pdfium/testing/resources/
Dbug_921.in52Tz [ <0418> ] TJ 11.3 0.0 Td 121.2 Tz [ <0440><0430><0437><0432><0435> ] TJ 27.8 0.0 Td 126.0 Tz […
53Tz [ <0447><0435><0441><043A><043E><0433><043E> ] TJ 36.7 0.0 Td 104.3 Tz [ <0441><0442><0440><043…
54Tz [ <0432><0430><002C> ] TJ 18.0 0.0 Td 122.4 Tz [ <043A><043E><0433><0434><0430> ] TJ 30.0 0.0 T…
55Tz [ <0442><0438><043B><043E><0441><044C> ] TJ 31.9 0.0 Td 128.0 Tz [ <0432> ] TJ 10.8 0.0 Td 102.…
56Tz [ <0441><0435><0431><0435> ] TJ 21.6 0.0 Td 120.0 Tz [ <0440><0443><043A><0443><002E> ] TJ 29.0…
57Tz [ <0433><043B><0443><0431><043E><043A><043E><0435> ] TJ 43.9 0.0 Td 104.9 Tz [ <0447><0435><043…
/external/toybox/tests/
Ddate.test7 # Use a consistent TZ for these tests, but not GMT/UTC because that
9 tz=Europe/Berlin
10 this_year=$(TZ=$tz date +%Y)
16 testing "-d @0" "TZ=$tz date -d @0" "Thu Jan 1 01:00:00 CET 1970\n" "" ""
17 testing "-d @0x123 invalid" "TZ=$tz date -d @0x123 2>/dev/null || echo expected error" "expected er…
23 "TZ=$tz date -d 06021234 +'%F %T'" "$this_year-06-02 12:34:00\n" "" ""
25 "TZ=$tz date -d 1110143115.30" "Tue Nov 10 14:31:30 CET 2015\n" "" ""
28 "TZ=$tz date -d 060212341982" "Wed Jun 2 12:34:00 CEST 1982\n" "" ""
30 "TZ=$tz date -d 111014312015.30" "Tue Nov 10 14:31:30 CET 2015\n" "" ""
33 testing "-d 1980-01-02" "TZ=$tz date -d 1980-01-02" "Wed Jan 2 00:00:00 CET 1980\n" "" ""
[all …]
/external/python/dateutil/dateutil/test/
Dtest_tz.py30 from dateutil import tz as tz unknown
118 TZURL:http://zones.stds_r_us.net/tz/US-Eastern
201 t0_u = datetime(2012, 3, 31, 15, 30, tzinfo=tz.tzutc()) # AEST
202 t1_u = datetime(2012, 3, 31, 16, 30, tzinfo=tz.tzutc()) # AEDT
223 t0_u = datetime(2012, 10, 6, 15, 30, tzinfo=tz.tzutc()) # AEST
224 t1_u = datetime(2012, 10, 6, 16, 30, tzinfo=tz.tzutc()) # AEDT
245 t0_u = datetime(2011, 11, 6, 5, 30, tzinfo=tz.tzutc())
246 t1_u = datetime(2011, 11, 6, 6, 30, tzinfo=tz.tzutc())
268 t0_u = datetime(2011, 3, 13, 6, 30, tzinfo=tz.tzutc())
269 t1_u = datetime(2011, 3, 13, 7, 30, tzinfo=tz.tzutc())
[all …]
/external/rust/crates/chrono/src/
Ddate.rs35 /// There are some guarantees on the usage of `Date<Tz>`:
50 /// tz.ymd_opt(y,m,d).unwrap().hms(h,n,s)` were valid, `dt.date() == tz.ymd_opt(y,m,d).unwrap()`.
55 #[deprecated(since = "0.4.23", note = "Use `NaiveDate` or `DateTime<Tz>` instead")]
58 pub struct Date<Tz: TimeZone> {
60 offset: Tz::Offset,
72 impl<Tz: TimeZone> Date<Tz> {
77 pub fn from_utc(date: NaiveDate, offset: Tz::Offset) -> Date<Tz> { in from_utc() argument
87 pub fn and_time(&self, time: NaiveTime) -> Option<DateTime<Tz>> { in and_time() argument
99 pub fn and_hms(&self, hour: u32, min: u32, sec: u32) -> DateTime<Tz> { in and_hms() argument
109 pub fn and_hms_opt(&self, hour: u32, min: u32, sec: u32) -> Option<DateTime<Tz>> { in and_hms_opt() argument
[all …]
/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/time/
Dtime_zone_test.cc26 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() local
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, absl::TimeZone(cz)); in TEST()
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/time/
Dtime_zone_test.cc26 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() local
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, absl::TimeZone(cz)); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/time/
Dtime_zone_test.cc26 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() local
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, absl::TimeZone(cz)); in TEST()
[all …]

12345678910>>...106