• Home
  • Raw
  • Download

Lines Matching refs:nyc

627   const absl::TimeZone nyc =  in TEST()  local
633 const auto nov01_ci = nyc.At(nov01); in TEST()
636 absl::FormatTime(fmt, nov01_ci.pre, nyc)); in TEST()
639 EXPECT_EQ(nov01_ci.pre, absl::FromCivil(nov01, nyc)); in TEST()
645 const auto mar_ci = nyc.At(mar13); in TEST()
648 absl::FormatTime(fmt, mar_ci.pre, nyc)); in TEST()
650 absl::FormatTime(fmt, mar_ci.trans, nyc)); in TEST()
652 absl::FormatTime(fmt, mar_ci.post, nyc)); in TEST()
653 EXPECT_EQ(mar_ci.trans, absl::FromCivil(mar13, nyc)); in TEST()
659 const auto nov06_ci = nyc.At(nov06); in TEST()
662 absl::FormatTime(fmt, nov06_ci.pre, nyc)); in TEST()
664 absl::FormatTime(fmt, nov06_ci.trans, nyc)); in TEST()
666 absl::FormatTime(fmt, nov06_ci.post, nyc)); in TEST()
667 EXPECT_EQ(nov06_ci.pre, absl::FromCivil(nov06, nyc)); in TEST()
671 const auto minus1_cl = nyc.At(minus1); in TEST()
675 absl::FormatTime(fmt, minus1_cl.pre, nyc)); in TEST()
754 const absl::TimeZone nyc = in TEST() local
756 absl::Time t = absl::FromCivil(absl::CivilSecond(2014, 3, 1, 0, 0, 0), nyc); in TEST()
757 struct tm tm = ToTM(t, nyc); in TEST()
761 t = absl::FromCivil(absl::CivilSecond(2014, 4, 1, 0, 0, 0), nyc); in TEST()
762 tm = ToTM(t, nyc); in TEST()
766 tm = ToTM(absl::InfiniteFuture(), nyc); in TEST()
778 tm = ToTM(absl::InfinitePast(), nyc); in TEST()
791 const absl::TimeZone nyc = in TEST() local
804 absl::Time t = FromTM(tm, nyc); in TEST()
805 EXPECT_EQ("2014-06-28T01:02:03-04:00", absl::FormatTime(t, nyc)); // DST in TEST()
807 t = FromTM(tm, nyc); in TEST()
808 EXPECT_EQ("2014-06-28T01:02:03-04:00", absl::FormatTime(t, nyc)); // DST in TEST()
810 t = FromTM(tm, nyc); in TEST()
811 EXPECT_EQ("2014-06-28T01:02:03-04:00", absl::FormatTime(t, nyc)); // DST in TEST()
821 t = FromTM(tm, nyc); in TEST()
822 EXPECT_EQ("2014-11-02T01:30:42-04:00", absl::FormatTime(t, nyc)); // DST in TEST()
824 t = FromTM(tm, nyc); in TEST()
825 EXPECT_EQ("2014-11-02T01:30:42-05:00", absl::FormatTime(t, nyc)); // STD in TEST()
827 t = FromTM(tm, nyc); in TEST()
828 EXPECT_EQ("2014-11-02T01:30:42-04:00", absl::FormatTime(t, nyc)); // DST in TEST()
838 t = FromTM(tm, nyc); in TEST()
839 EXPECT_EQ("2014-03-09T03:30:42-04:00", absl::FormatTime(t, nyc)); // DST in TEST()
841 t = FromTM(tm, nyc); in TEST()
842 EXPECT_EQ("2014-03-09T01:30:42-05:00", absl::FormatTime(t, nyc)); // STD in TEST()
844 t = FromTM(tm, nyc); in TEST()
845 EXPECT_EQ("2014-03-09T03:30:42-04:00", absl::FormatTime(t, nyc)); // DST in TEST()
873 const absl::TimeZone nyc = in TEST() local
877 absl::Time start = absl::FromCivil(absl::CivilHour(2014, 3, 9, 0), nyc); in TEST()
878 absl::Time end = absl::FromCivil(absl::CivilHour(2014, 3, 9, 4), nyc); in TEST()
880 struct tm tm = ToTM(t, nyc); in TEST()
881 absl::Time rt = FromTM(tm, nyc); in TEST()
886 start = absl::FromCivil(absl::CivilHour(2014, 11, 2, 0), nyc); in TEST()
887 end = absl::FromCivil(absl::CivilHour(2014, 11, 2, 4), nyc); in TEST()
889 struct tm tm = ToTM(t, nyc); in TEST()
890 absl::Time rt = FromTM(tm, nyc); in TEST()
895 start = absl::FromCivil(absl::CivilHour(2014, 6, 27, 22), nyc); in TEST()
896 end = absl::FromCivil(absl::CivilHour(2014, 6, 28, 4), nyc); in TEST()
898 struct tm tm = ToTM(t, nyc); in TEST()
899 absl::Time rt = FromTM(tm, nyc); in TEST()
1117 const absl::TimeZone nyc = in TEST() local
1129 ci = nyc.At(max); in TEST()
1131 t = absl::FromCivil(absl::CivilSecond(292277026596, 12, 4, 10, 30, 7), nyc); in TEST()
1137 t = absl::FromCivil(absl::CivilSecond(292277026596, 12, 4, 10, 30, 8), nyc); in TEST()
1143 t = absl::FromCivil(absl::CivilSecond(292277026596, 12, 4, 10, 30, 9), nyc); in TEST()
1149 t = absl::FromCivil(absl::CivilSecond::max(), nyc); in TEST()