Lines Matching full:minute
207 absl::CivilMinute minute = hour; in TEST() local
208 absl::CivilSecond second = minute; in TEST()
218 second = minute; in TEST()
219 EXPECT_EQ(second, minute); in TEST()
221 minute = year; in TEST()
222 EXPECT_EQ(minute, year); in TEST()
223 minute = month; in TEST()
224 EXPECT_EQ(minute, month); in TEST()
225 minute = day; in TEST()
226 EXPECT_EQ(minute, day); in TEST()
227 minute = hour; in TEST()
228 EXPECT_EQ(minute, hour); in TEST()
290 absl::CivilMinute minute(second); in TEST() local
291 EXPECT_EQ("2015-01-02T03:04", absl::FormatCivilTime(minute)); in TEST()
293 absl::CivilHour hour(minute); in TEST()
318 minute = absl::CivilMinute(hour); in TEST()
319 EXPECT_EQ("2015-01-01T00:00", absl::FormatCivilTime(minute)); in TEST()
321 second = absl::CivilSecond(minute); in TEST()
435 absl::CivilMinute minute(2015, 1, 2, 3, 4); in TEST() local
436 EXPECT_EQ("2015-01-02T03:05", absl::FormatCivilTime(minute += 1)); in TEST()
437 EXPECT_EQ("2015-01-02T03:06", absl::FormatCivilTime(minute + 1)); in TEST()
438 EXPECT_EQ("2015-01-02T03:07", absl::FormatCivilTime(2 + minute)); in TEST()
439 EXPECT_EQ("2015-01-02T03:04", absl::FormatCivilTime(minute - 1)); in TEST()
440 EXPECT_EQ("2015-01-02T03:04", absl::FormatCivilTime(minute -= 1)); in TEST()
441 EXPECT_EQ("2015-01-02T03:04", absl::FormatCivilTime(minute++)); in TEST()
442 EXPECT_EQ("2015-01-02T03:06", absl::FormatCivilTime(++minute)); in TEST()
443 EXPECT_EQ("2015-01-02T03:06", absl::FormatCivilTime(minute--)); in TEST()
444 EXPECT_EQ("2015-01-02T03:04", absl::FormatCivilTime(--minute)); in TEST()
505 absl::CivilMinute minute(1970, 1, 1, 0, 0); in TEST() local
506 minute += kIntMax; in TEST()
507 EXPECT_EQ("6053-01-23T02:07", absl::FormatCivilTime(minute)); in TEST()
508 minute -= kIntMax; in TEST()
509 EXPECT_EQ("1970-01-01T00:00", absl::FormatCivilTime(minute)); in TEST()
510 minute += kIntMin; in TEST()
511 EXPECT_EQ("-2114-12-08T21:52", absl::FormatCivilTime(minute)); in TEST()
512 minute -= kIntMin; in TEST()
513 EXPECT_EQ("1970-01-01T00:00", absl::FormatCivilTime(minute)); in TEST()
562 absl::CivilMinute minute(2015, 1, 2, 3, 4); in TEST() local
563 EXPECT_EQ(0, minute - minute); in TEST()
564 EXPECT_EQ(10, (minute + 10) - minute); in TEST()
565 EXPECT_EQ(-10, (minute - 10) - minute); in TEST()
617 EXPECT_EQ(5, ss.minute()); in TEST()
627 EXPECT_EQ(5, mm.minute()); in TEST()
637 EXPECT_EQ(0, hh.minute()); in TEST()
647 EXPECT_EQ(0, d.minute()); in TEST()
657 EXPECT_EQ(0, m.minute()); in TEST()
667 EXPECT_EQ(0, y.minute()); in TEST()
1014 // The difference up to the minute field would be below the minimum in TEST()
1020 // The difference up to the minute field would be above the maximum in TEST()
1212 absl::CivilMinute minute(second); // 2015-06-28 01:02:00 in TEST() local
1213 absl::CivilDay day(minute); // 2015-06-28 00:00:00 in TEST()
1217 EXPECT_EQ(minute, second - 1); // Comparison between types in TEST()
1218 EXPECT_LT(minute, second); in TEST()
1220 // int diff = second - minute; // ERROR: Mixed types, won't compile in TEST()