• Home
  • Raw
  • Download

Lines Matching refs:ParseLenientCivilTime

775   EXPECT_TRUE(absl::ParseLenientCivilTime("2015-01-02T03:04:05", &ss));  in TEST()
778 EXPECT_TRUE(absl::ParseLenientCivilTime("2015-01-02T03:04:05", &mm)); in TEST()
781 EXPECT_TRUE(absl::ParseLenientCivilTime("2015-01-02T03:04:05", &hh)); in TEST()
784 EXPECT_TRUE(absl::ParseLenientCivilTime("2015-01-02T03:04:05", &d)); in TEST()
787 EXPECT_TRUE(absl::ParseLenientCivilTime("2015-01-02T03:04:05", &m)); in TEST()
790 EXPECT_TRUE(absl::ParseLenientCivilTime("2015-01-02T03:04:05", &y)); in TEST()
797 absl::ParseLenientCivilTime("9223372036854775807-12-31T23:59:59", &ss)); in TEST()
800 absl::ParseLenientCivilTime("-9223372036854775808-01-01T00:00:00", &ss)); in TEST()
805 absl::ParseLenientCivilTime("9223372036854775807-12-31T23:59", &mm)); in TEST()
808 absl::ParseLenientCivilTime("-9223372036854775808-01-01T00:00", &mm)); in TEST()
813 absl::ParseLenientCivilTime("9223372036854775807-12-31T23", &hh)); in TEST()
816 absl::ParseLenientCivilTime("-9223372036854775808-01-01T00", &hh)); in TEST()
820 EXPECT_TRUE(absl::ParseLenientCivilTime("9223372036854775807-12-31", &d)); in TEST()
822 EXPECT_TRUE(absl::ParseLenientCivilTime("-9223372036854775808-01-01", &d)); in TEST()
826 EXPECT_TRUE(absl::ParseLenientCivilTime("9223372036854775807-12", &m)); in TEST()
828 EXPECT_TRUE(absl::ParseLenientCivilTime("-9223372036854775808-01", &m)); in TEST()
832 EXPECT_TRUE(absl::ParseLenientCivilTime("9223372036854775807", &y)); in TEST()
834 EXPECT_TRUE(absl::ParseLenientCivilTime("-9223372036854775808", &y)); in TEST()
838 EXPECT_TRUE(absl::ParseLenientCivilTime("0", &ss)) << ss; in TEST()
840 EXPECT_TRUE(absl::ParseLenientCivilTime("0-1", &ss)) << ss; in TEST()
842 EXPECT_TRUE(absl::ParseLenientCivilTime(" 2015 ", &ss)) << ss; in TEST()
844 EXPECT_TRUE(absl::ParseLenientCivilTime(" 2015-6 ", &ss)) << ss; in TEST()
846 EXPECT_TRUE(absl::ParseLenientCivilTime("2015-6-7", &ss)) << ss; in TEST()
848 EXPECT_TRUE(absl::ParseLenientCivilTime(" 2015-6-7 ", &ss)) << ss; in TEST()
850 EXPECT_TRUE(absl::ParseLenientCivilTime("2015-06-07T10:11:12 ", &ss)) << ss; in TEST()
852 EXPECT_TRUE(absl::ParseLenientCivilTime(" 2015-06-07T10:11:12 ", &ss)) << ss; in TEST()
854 EXPECT_TRUE(absl::ParseLenientCivilTime("-01-01", &ss)) << ss; in TEST()
858 EXPECT_FALSE(absl::ParseLenientCivilTime("01-01-2015", &ss)) << ss; in TEST()
859 EXPECT_FALSE(absl::ParseLenientCivilTime("2015-", &ss)) << ss; in TEST()
860 EXPECT_FALSE(absl::ParseLenientCivilTime("0xff-01", &ss)) << ss; in TEST()
861 EXPECT_FALSE(absl::ParseLenientCivilTime("2015-02-30T04:05:06", &ss)) << ss; in TEST()
862 EXPECT_FALSE(absl::ParseLenientCivilTime("2015-02-03T04:05:96", &ss)) << ss; in TEST()
863 EXPECT_FALSE(absl::ParseLenientCivilTime("X2015-02-03T04:05:06", &ss)) << ss; in TEST()
864 EXPECT_FALSE(absl::ParseLenientCivilTime("2015-02-03T04:05:003", &ss)) << ss; in TEST()
865 EXPECT_FALSE(absl::ParseLenientCivilTime("2015 -02-03T04:05:06", &ss)) << ss; in TEST()
866 EXPECT_FALSE(absl::ParseLenientCivilTime("2015-02-03-04:05:06", &ss)) << ss; in TEST()
867 EXPECT_FALSE(absl::ParseLenientCivilTime("2015:02:03T04-05-06", &ss)) << ss; in TEST()
868 EXPECT_FALSE(absl::ParseLenientCivilTime("9223372036854775808", &y)) << y; in TEST()