Lines Matching refs:ParseCivilTime
702 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04:05", &ss)); in TEST()
704 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &mm)); in TEST()
705 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &hh)); in TEST()
706 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &d)); in TEST()
707 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &m)); in TEST()
708 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04:05", &y)); in TEST()
711 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &ss)); in TEST()
712 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03:04", &mm)); in TEST()
714 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &hh)); in TEST()
715 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &d)); in TEST()
716 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &m)); in TEST()
717 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03:04", &y)); in TEST()
720 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03", &ss)); in TEST()
721 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03", &mm)); in TEST()
722 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02T03", &hh)); in TEST()
724 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03", &d)); in TEST()
725 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03", &m)); in TEST()
726 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02T03", &y)); in TEST()
729 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02", &ss)); in TEST()
730 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02", &mm)); in TEST()
731 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02", &hh)); in TEST()
732 EXPECT_TRUE(absl::ParseCivilTime("2015-01-02", &d)); in TEST()
734 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02", &m)); in TEST()
735 EXPECT_FALSE(absl::ParseCivilTime("2015-01-02", &y)); in TEST()
738 EXPECT_FALSE(absl::ParseCivilTime("2015-01", &ss)); in TEST()
739 EXPECT_FALSE(absl::ParseCivilTime("2015-01", &mm)); in TEST()
740 EXPECT_FALSE(absl::ParseCivilTime("2015-01", &hh)); in TEST()
741 EXPECT_FALSE(absl::ParseCivilTime("2015-01", &d)); in TEST()
742 EXPECT_TRUE(absl::ParseCivilTime("2015-01", &m)); in TEST()
744 EXPECT_FALSE(absl::ParseCivilTime("2015-01", &y)); in TEST()
747 EXPECT_FALSE(absl::ParseCivilTime("2015", &ss)); in TEST()
748 EXPECT_FALSE(absl::ParseCivilTime("2015", &mm)); in TEST()
749 EXPECT_FALSE(absl::ParseCivilTime("2015", &hh)); in TEST()
750 EXPECT_FALSE(absl::ParseCivilTime("2015", &d)); in TEST()
751 EXPECT_FALSE(absl::ParseCivilTime("2015", &m)); in TEST()
752 EXPECT_TRUE(absl::ParseCivilTime("2015", &y)); in TEST()