Home
last modified time | relevance | path

Searched refs:CivilMinute (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dcivil_time_test.cc30 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 …]
Dcivil_time.h325 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);
Dcivil_time.cc92 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 <<()
Dcivil_time_benchmark.cc115 BM_CivilTimeAbslHash<absl::CivilMinute>(state); in BM_CivilMinuteAbslHash()
Dtime.h1128 inline CivilMinute ToCivilMinute(Time t, TimeZone tz) { in ToCivilMinute()
1129 return CivilMinute(tz.At(t).cs); in ToCivilMinute()
Dtime_test.cc1162 t = absl::FromCivil(absl::CivilMinute(cs), utc); in TEST()