Searched refs:CivilMinute (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
D | civil_time_test.cc | 30 absl::CivilMinute mm; in TEST() 69 absl::FormatCivilTime(absl::CivilMinute(2015, 1, 2, 3, 4, 5))); in TEST() 71 absl::FormatCivilTime(absl::CivilMinute(2015, 1, 2, 3, 4))); in TEST() 73 absl::FormatCivilTime(absl::CivilMinute(2015, 1, 2, 3))); in TEST() 75 absl::FormatCivilTime(absl::CivilMinute(2015, 1, 2))); in TEST() 77 absl::FormatCivilTime(absl::CivilMinute(2015, 1))); in TEST() 79 absl::FormatCivilTime(absl::CivilMinute(2015))); in TEST() 181 EXPECT_EQ(absl::CivilMinute(kYearMax, 12, 31, 23, 59), in TEST() 182 absl::CivilMinute::max()); in TEST() 196 EXPECT_EQ(absl::CivilMinute(kYearMin, 1, 1, 0, 0), in TEST() [all …]
|
D | civil_time.h | 325 using CivilMinute = variable 457 std::string FormatCivilTime(CivilMinute c); 488 bool ParseCivilTime(absl::string_view s, CivilMinute* c); 508 bool ParseLenientCivilTime(absl::string_view s, CivilMinute* c); 530 std::ostream& operator<<(std::ostream& os, CivilMinute m);
|
D | civil_time.cc | 92 if (ParseAs<CivilMinute>(s, c)) return true; in ParseLenient() 101 std::string FormatCivilTime(CivilMinute c) { in FormatCivilTime() 114 bool ParseCivilTime(string_view s, CivilMinute* c) { in ParseCivilTime() 133 bool ParseLenientCivilTime(string_view s, CivilMinute* c) { in ParseLenientCivilTime() 163 std::ostream& operator<<(std::ostream& os, CivilMinute m) { in operator <<()
|
D | civil_time_benchmark.cc | 115 BM_CivilTimeAbslHash<absl::CivilMinute>(state); in BM_CivilMinuteAbslHash()
|
D | time.h | 1128 inline CivilMinute ToCivilMinute(Time t, TimeZone tz) { in ToCivilMinute() 1129 return CivilMinute(tz.At(t).cs); in ToCivilMinute()
|
D | time_test.cc | 1162 t = absl::FromCivil(absl::CivilMinute(cs), utc); in TEST()
|