Home
last modified time | relevance | path

Searched refs:FormatCivilTime (Results 1 – 25 of 53) sorted by relevance

123

/external/angle/third_party/abseil-cpp/absl/time/
Dcivil_time_test.cc28 EXPECT_EQ("1970-01-01T00:00:00", absl::FormatCivilTime(ss)); in TEST()
31 EXPECT_EQ("1970-01-01T00:00", absl::FormatCivilTime(mm)); in TEST()
34 EXPECT_EQ("1970-01-01T00", absl::FormatCivilTime(hh)); in TEST()
37 EXPECT_EQ("1970-01-01", absl::FormatCivilTime(d)); in TEST()
40 EXPECT_EQ("1970-01", absl::FormatCivilTime(m)); in TEST()
43 EXPECT_EQ("1970", absl::FormatCivilTime(y)); in TEST()
56 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4, 5))); in TEST()
58 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4))); in TEST()
60 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3))); in TEST()
62 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2))); in TEST()
[all …]
Dcivil_time.cc99 std::string FormatCivilTime(CivilSecond c) { in FormatCivilTime() function
102 std::string FormatCivilTime(CivilMinute c) { in FormatCivilTime() function
105 std::string FormatCivilTime(CivilHour c) { in FormatCivilTime() function
108 std::string FormatCivilTime(CivilDay c) { return FormatYearAnd("-%m-%d", c); } in FormatCivilTime() function
109 std::string FormatCivilTime(CivilMonth c) { return FormatYearAnd("-%m", c); } in FormatCivilTime() function
110 std::string FormatCivilTime(CivilYear c) { return FormatYearAnd("", c); } in FormatCivilTime() function
153 return os << FormatCivilTime(y); in operator <<()
156 return os << FormatCivilTime(m); in operator <<()
159 return os << FormatCivilTime(d); in operator <<()
162 return os << FormatCivilTime(h); in operator <<()
[all …]
Dcivil_time.h458 std::string FormatCivilTime(CivilSecond c);
459 std::string FormatCivilTime(CivilMinute c);
460 std::string FormatCivilTime(CivilHour c);
461 std::string FormatCivilTime(CivilDay c);
462 std::string FormatCivilTime(CivilMonth c);
463 std::string FormatCivilTime(CivilYear c);
/external/openscreen/third_party/abseil/src/absl/time/
Dcivil_time_test.cc28 EXPECT_EQ("1970-01-01T00:00:00", absl::FormatCivilTime(ss)); in TEST()
31 EXPECT_EQ("1970-01-01T00:00", absl::FormatCivilTime(mm)); in TEST()
34 EXPECT_EQ("1970-01-01T00", absl::FormatCivilTime(hh)); in TEST()
37 EXPECT_EQ("1970-01-01", absl::FormatCivilTime(d)); in TEST()
40 EXPECT_EQ("1970-01", absl::FormatCivilTime(m)); in TEST()
43 EXPECT_EQ("1970", absl::FormatCivilTime(y)); in TEST()
56 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4, 5))); in TEST()
58 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4))); in TEST()
60 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3))); in TEST()
62 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2))); in TEST()
[all …]
Dcivil_time.cc100 std::string FormatCivilTime(CivilSecond c) { in FormatCivilTime() function
103 std::string FormatCivilTime(CivilMinute c) { in FormatCivilTime() function
106 std::string FormatCivilTime(CivilHour c) { in FormatCivilTime() function
109 std::string FormatCivilTime(CivilDay c) { return FormatYearAnd("-%m-%d", c); } in FormatCivilTime() function
110 std::string FormatCivilTime(CivilMonth c) { return FormatYearAnd("-%m", c); } in FormatCivilTime() function
111 std::string FormatCivilTime(CivilYear c) { return FormatYearAnd("", c); } in FormatCivilTime() function
154 return os << FormatCivilTime(y); in operator <<()
157 return os << FormatCivilTime(m); in operator <<()
160 return os << FormatCivilTime(d); in operator <<()
163 return os << FormatCivilTime(h); in operator <<()
[all …]
Dcivil_time.h456 std::string FormatCivilTime(CivilSecond c);
457 std::string FormatCivilTime(CivilMinute c);
458 std::string FormatCivilTime(CivilHour c);
459 std::string FormatCivilTime(CivilDay c);
460 std::string FormatCivilTime(CivilMonth c);
461 std::string FormatCivilTime(CivilYear c);
/external/abseil-cpp/absl/time/
Dcivil_time_test.cc28 EXPECT_EQ("1970-01-01T00:00:00", absl::FormatCivilTime(ss)); in TEST()
31 EXPECT_EQ("1970-01-01T00:00", absl::FormatCivilTime(mm)); in TEST()
34 EXPECT_EQ("1970-01-01T00", absl::FormatCivilTime(hh)); in TEST()
37 EXPECT_EQ("1970-01-01", absl::FormatCivilTime(d)); in TEST()
40 EXPECT_EQ("1970-01", absl::FormatCivilTime(m)); in TEST()
43 EXPECT_EQ("1970", absl::FormatCivilTime(y)); in TEST()
56 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4, 5))); in TEST()
58 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4))); in TEST()
60 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3))); in TEST()
62 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2))); in TEST()
[all …]
Dcivil_time.cc98 std::string FormatCivilTime(CivilSecond c) { in FormatCivilTime() function
101 std::string FormatCivilTime(CivilMinute c) { in FormatCivilTime() function
104 std::string FormatCivilTime(CivilHour c) { in FormatCivilTime() function
107 std::string FormatCivilTime(CivilDay c) { return FormatYearAnd("-%m-%d", c); } in FormatCivilTime() function
108 std::string FormatCivilTime(CivilMonth c) { return FormatYearAnd("-%m", c); } in FormatCivilTime() function
109 std::string FormatCivilTime(CivilYear c) { return FormatYearAnd("", c); } in FormatCivilTime() function
152 return os << FormatCivilTime(y); in operator <<()
155 return os << FormatCivilTime(m); in operator <<()
158 return os << FormatCivilTime(d); in operator <<()
161 return os << FormatCivilTime(h); in operator <<()
[all …]
Dcivil_time.h456 std::string FormatCivilTime(CivilSecond c);
457 std::string FormatCivilTime(CivilMinute c);
458 std::string FormatCivilTime(CivilHour c);
459 std::string FormatCivilTime(CivilDay c);
460 std::string FormatCivilTime(CivilMonth c);
461 std::string FormatCivilTime(CivilYear c);
/external/webrtc/third_party/abseil-cpp/absl/time/
Dcivil_time_test.cc28 EXPECT_EQ("1970-01-01T00:00:00", absl::FormatCivilTime(ss)); in TEST()
31 EXPECT_EQ("1970-01-01T00:00", absl::FormatCivilTime(mm)); in TEST()
34 EXPECT_EQ("1970-01-01T00", absl::FormatCivilTime(hh)); in TEST()
37 EXPECT_EQ("1970-01-01", absl::FormatCivilTime(d)); in TEST()
40 EXPECT_EQ("1970-01", absl::FormatCivilTime(m)); in TEST()
43 EXPECT_EQ("1970", absl::FormatCivilTime(y)); in TEST()
56 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4, 5))); in TEST()
58 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4))); in TEST()
60 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3))); in TEST()
62 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2))); in TEST()
[all …]
Dcivil_time.cc99 std::string FormatCivilTime(CivilSecond c) { in FormatCivilTime() function
102 std::string FormatCivilTime(CivilMinute c) { in FormatCivilTime() function
105 std::string FormatCivilTime(CivilHour c) { in FormatCivilTime() function
108 std::string FormatCivilTime(CivilDay c) { return FormatYearAnd("-%m-%d", c); } in FormatCivilTime() function
109 std::string FormatCivilTime(CivilMonth c) { return FormatYearAnd("-%m", c); } in FormatCivilTime() function
110 std::string FormatCivilTime(CivilYear c) { return FormatYearAnd("", c); } in FormatCivilTime() function
153 return os << FormatCivilTime(y); in operator <<()
156 return os << FormatCivilTime(m); in operator <<()
159 return os << FormatCivilTime(d); in operator <<()
162 return os << FormatCivilTime(h); in operator <<()
[all …]
Dcivil_time.h458 std::string FormatCivilTime(CivilSecond c);
459 std::string FormatCivilTime(CivilMinute c);
460 std::string FormatCivilTime(CivilHour c);
461 std::string FormatCivilTime(CivilDay c);
462 std::string FormatCivilTime(CivilMonth c);
463 std::string FormatCivilTime(CivilYear c);
/external/libtextclassifier/abseil-cpp/absl/time/
Dcivil_time_test.cc28 EXPECT_EQ("1970-01-01T00:00:00", absl::FormatCivilTime(ss)); in TEST()
31 EXPECT_EQ("1970-01-01T00:00", absl::FormatCivilTime(mm)); in TEST()
34 EXPECT_EQ("1970-01-01T00", absl::FormatCivilTime(hh)); in TEST()
37 EXPECT_EQ("1970-01-01", absl::FormatCivilTime(d)); in TEST()
40 EXPECT_EQ("1970-01", absl::FormatCivilTime(m)); in TEST()
43 EXPECT_EQ("1970", absl::FormatCivilTime(y)); in TEST()
56 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4, 5))); in TEST()
58 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4))); in TEST()
60 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3))); in TEST()
62 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2))); in TEST()
[all …]
Dcivil_time.cc100 std::string FormatCivilTime(CivilSecond c) { in FormatCivilTime() function
103 std::string FormatCivilTime(CivilMinute c) { in FormatCivilTime() function
106 std::string FormatCivilTime(CivilHour c) { in FormatCivilTime() function
109 std::string FormatCivilTime(CivilDay c) { return FormatYearAnd("-%m-%d", c); } in FormatCivilTime() function
110 std::string FormatCivilTime(CivilMonth c) { return FormatYearAnd("-%m", c); } in FormatCivilTime() function
111 std::string FormatCivilTime(CivilYear c) { return FormatYearAnd("", c); } in FormatCivilTime() function
154 return os << FormatCivilTime(y); in operator <<()
157 return os << FormatCivilTime(m); in operator <<()
160 return os << FormatCivilTime(d); in operator <<()
163 return os << FormatCivilTime(h); in operator <<()
[all …]
Dcivil_time.h456 std::string FormatCivilTime(CivilSecond c);
457 std::string FormatCivilTime(CivilMinute c);
458 std::string FormatCivilTime(CivilHour c);
459 std::string FormatCivilTime(CivilDay c);
460 std::string FormatCivilTime(CivilMonth c);
461 std::string FormatCivilTime(CivilYear c);
Dcivil_time_benchmark.cc63 const std::string s = absl::FormatCivilTime(c); in BM_Format()
83 const bool b = absl::ParseCivilTime(absl::FormatCivilTime(c), &out); in BM_RoundTripFormatParse()
/external/tensorflow/third_party/absl/abseil-cpp/absl/time/
Dcivil_time_test.cc28 EXPECT_EQ("1970-01-01T00:00:00", absl::FormatCivilTime(ss)); in TEST()
31 EXPECT_EQ("1970-01-01T00:00", absl::FormatCivilTime(mm)); in TEST()
34 EXPECT_EQ("1970-01-01T00", absl::FormatCivilTime(hh)); in TEST()
37 EXPECT_EQ("1970-01-01", absl::FormatCivilTime(d)); in TEST()
40 EXPECT_EQ("1970-01", absl::FormatCivilTime(m)); in TEST()
43 EXPECT_EQ("1970", absl::FormatCivilTime(y)); in TEST()
56 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4, 5))); in TEST()
58 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4))); in TEST()
60 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3))); in TEST()
62 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2))); in TEST()
[all …]
Dcivil_time.cc98 std::string FormatCivilTime(CivilSecond c) { in FormatCivilTime() function
101 std::string FormatCivilTime(CivilMinute c) { in FormatCivilTime() function
104 std::string FormatCivilTime(CivilHour c) { in FormatCivilTime() function
107 std::string FormatCivilTime(CivilDay c) { return FormatYearAnd("-%m-%d", c); } in FormatCivilTime() function
108 std::string FormatCivilTime(CivilMonth c) { return FormatYearAnd("-%m", c); } in FormatCivilTime() function
109 std::string FormatCivilTime(CivilYear c) { return FormatYearAnd("", c); } in FormatCivilTime() function
152 return os << FormatCivilTime(y); in operator <<()
155 return os << FormatCivilTime(m); in operator <<()
158 return os << FormatCivilTime(d); in operator <<()
161 return os << FormatCivilTime(h); in operator <<()
[all …]
Dcivil_time.h456 std::string FormatCivilTime(CivilSecond c);
457 std::string FormatCivilTime(CivilMinute c);
458 std::string FormatCivilTime(CivilHour c);
459 std::string FormatCivilTime(CivilDay c);
460 std::string FormatCivilTime(CivilMonth c);
461 std::string FormatCivilTime(CivilYear c);
/external/cronet/third_party/abseil-cpp/absl/time/
Dcivil_time_test.cc28 EXPECT_EQ("1970-01-01T00:00:00", absl::FormatCivilTime(ss)); in TEST()
31 EXPECT_EQ("1970-01-01T00:00", absl::FormatCivilTime(mm)); in TEST()
34 EXPECT_EQ("1970-01-01T00", absl::FormatCivilTime(hh)); in TEST()
37 EXPECT_EQ("1970-01-01", absl::FormatCivilTime(d)); in TEST()
40 EXPECT_EQ("1970-01", absl::FormatCivilTime(m)); in TEST()
43 EXPECT_EQ("1970", absl::FormatCivilTime(y)); in TEST()
56 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4, 5))); in TEST()
58 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4))); in TEST()
60 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3))); in TEST()
62 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2))); in TEST()
[all …]
Dcivil_time.cc99 std::string FormatCivilTime(CivilSecond c) { in FormatCivilTime() function
102 std::string FormatCivilTime(CivilMinute c) { in FormatCivilTime() function
105 std::string FormatCivilTime(CivilHour c) { in FormatCivilTime() function
108 std::string FormatCivilTime(CivilDay c) { return FormatYearAnd("-%m-%d", c); } in FormatCivilTime() function
109 std::string FormatCivilTime(CivilMonth c) { return FormatYearAnd("-%m", c); } in FormatCivilTime() function
110 std::string FormatCivilTime(CivilYear c) { return FormatYearAnd("", c); } in FormatCivilTime() function
153 return os << FormatCivilTime(y); in operator <<()
156 return os << FormatCivilTime(m); in operator <<()
159 return os << FormatCivilTime(d); in operator <<()
162 return os << FormatCivilTime(h); in operator <<()
[all …]
Dcivil_time.h458 std::string FormatCivilTime(CivilSecond c);
459 std::string FormatCivilTime(CivilMinute c);
460 std::string FormatCivilTime(CivilHour c);
461 std::string FormatCivilTime(CivilDay c);
462 std::string FormatCivilTime(CivilMonth c);
463 std::string FormatCivilTime(CivilYear c);
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/
Dcivil_time_test.cc28 EXPECT_EQ("1970-01-01T00:00:00", absl::FormatCivilTime(ss)); in TEST()
31 EXPECT_EQ("1970-01-01T00:00", absl::FormatCivilTime(mm)); in TEST()
34 EXPECT_EQ("1970-01-01T00", absl::FormatCivilTime(hh)); in TEST()
37 EXPECT_EQ("1970-01-01", absl::FormatCivilTime(d)); in TEST()
40 EXPECT_EQ("1970-01", absl::FormatCivilTime(m)); in TEST()
43 EXPECT_EQ("1970", absl::FormatCivilTime(y)); in TEST()
56 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4, 5))); in TEST()
58 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3, 4))); in TEST()
60 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2, 3))); in TEST()
62 absl::FormatCivilTime(absl::CivilSecond(2015, 1, 2))); in TEST()
[all …]
Dcivil_time.cc100 std::string FormatCivilTime(CivilSecond c) { in FormatCivilTime() function
103 std::string FormatCivilTime(CivilMinute c) { in FormatCivilTime() function
106 std::string FormatCivilTime(CivilHour c) { in FormatCivilTime() function
109 std::string FormatCivilTime(CivilDay c) { return FormatYearAnd("-%m-%d", c); } in FormatCivilTime() function
110 std::string FormatCivilTime(CivilMonth c) { return FormatYearAnd("-%m", c); } in FormatCivilTime() function
111 std::string FormatCivilTime(CivilYear c) { return FormatYearAnd("", c); } in FormatCivilTime() function
154 return os << FormatCivilTime(y); in operator <<()
157 return os << FormatCivilTime(m); in operator <<()
160 return os << FormatCivilTime(d); in operator <<()
163 return os << FormatCivilTime(h); in operator <<()
[all …]
Dcivil_time.h456 std::string FormatCivilTime(CivilSecond c);
457 std::string FormatCivilTime(CivilMinute c);
458 std::string FormatCivilTime(CivilHour c);
459 std::string FormatCivilTime(CivilDay c);
460 std::string FormatCivilTime(CivilMonth c);
461 std::string FormatCivilTime(CivilYear c);

123