Lines Matching refs:CivilYear
42 absl::CivilYear y; in TEST()
121 absl::FormatCivilTime(absl::CivilYear(2015, 1, 2, 3, 4, 5))); in TEST()
123 absl::FormatCivilTime(absl::CivilYear(2015, 1, 2, 3, 4))); in TEST()
125 absl::FormatCivilTime(absl::CivilYear(2015, 1, 2, 3))); in TEST()
127 absl::FormatCivilTime(absl::CivilYear(2015, 1, 2))); in TEST()
129 absl::FormatCivilTime(absl::CivilYear(2015, 1))); in TEST()
131 absl::FormatCivilTime(absl::CivilYear(2015))); in TEST()
173 EXPECT_EQ(absl::CivilYear(kYearMax), in TEST()
174 absl::CivilYear::max()); in TEST()
188 EXPECT_EQ(absl::CivilYear(kYearMin), in TEST()
189 absl::CivilYear::min()); in TEST()
203 absl::CivilYear year(2015); in TEST()
255 (std::is_convertible<absl::CivilSecond, absl::CivilYear>::value)); in TEST()
264 (std::is_convertible<absl::CivilMinute, absl::CivilYear>::value)); in TEST()
271 (std::is_convertible<absl::CivilHour, absl::CivilYear>::value)); in TEST()
276 (std::is_convertible<absl::CivilDay, absl::CivilYear>::value)); in TEST()
279 (std::is_convertible<absl::CivilMonth, absl::CivilYear>::value)); in TEST()
302 absl::CivilYear year(month); in TEST()
342 static_assert(HasDiff<absl::CivilYear, absl::CivilYear>::value, ""); in TEST()
349 static_assert(!HasDiff<absl::CivilSecond, absl::CivilYear>::value, ""); in TEST()
354 static_assert(!HasDiff<absl::CivilMinute, absl::CivilYear>::value, ""); in TEST()
358 static_assert(!HasDiff<absl::CivilHour, absl::CivilYear>::value, ""); in TEST()
361 static_assert(!HasDiff<absl::CivilDay, absl::CivilYear>::value, ""); in TEST()
363 static_assert(!HasDiff<absl::CivilMonth, absl::CivilYear>::value, ""); in TEST()
377 const absl::CivilYear year(2014); in TEST()
479 absl::CivilYear year(2015); in TEST()
545 absl::CivilYear year(0); in TEST()
582 absl::CivilYear year(2015); in TEST()
662 absl::CivilYear y(2015, 2, 3, 4, 5, 6); in TEST()
689 absl::CivilYear y; in TEST()
699 absl::CivilYear y; in TEST()
772 absl::CivilYear y; in TEST()
831 absl::CivilYear y; in TEST()
839 EXPECT_EQ(absl::CivilYear(0), ss); in TEST()
843 EXPECT_EQ(absl::CivilYear(2015), ss); in TEST()
877 ss << std::setw(21) << absl::CivilYear(cs); in TEST()
1192 const absl::CivilYear year(feb28); in TEST()
1193 const absl::CivilYear next_year = year + 1; in TEST()