Home
last modified time | relevance | path

Searched refs:Tuesday (Results 1 – 25 of 64) sorted by relevance

123

/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/
Dcomparisons.pass.cpp39 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
42 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main()
43 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main()
48 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main()
49 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 2}}, in main()
54 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main()
55 year_month_weekday{year{1234}, February, weekday_indexed{Tuesday, 1}}, in main()
60 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main()
61 year_month_weekday{year{1235}, January, weekday_indexed{Tuesday, 1}}, in main()
67 year_month_weekday{year{1234}, January, weekday_indexed{Tuesday, 1}}, in main()
[all …]
Dminus.pass.cpp31 …::chrono::year{1234}, std::chrono::January, std::chrono::weekday_indexed{std::chrono::Tuesday, 1}}; in testConstexprYears()
36 && ym1.weekday() == std::chrono::Tuesday in testConstexprYears()
43 …:chrono::year{1234}, std::chrono::November, std::chrono::weekday_indexed{std::chrono::Tuesday, 1}}; in testConstexprMonths()
48 && ym1.weekday() == std::chrono::Tuesday in testConstexprMonths()
65 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
73 year_month_weekday ym{year{1234}, November, weekday_indexed{Tuesday, 1}}; in main()
79 assert(ym1.weekday() == Tuesday); in main()
90 year_month_weekday ym{year{1234}, November, weekday_indexed{Tuesday, 2}}; in main()
96 assert(ym1.weekday() == Tuesday); in main()
Dplus.pass.cpp65 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
75 …static_assert(testConstexprMonths(year_month_weekday{year{1}, January, weekday_indexed{Tuesday, 1}… in main()
77 year_month_weekday ym{year{1234}, January, weekday_indexed{Tuesday, 3}}; in main()
86 assert(ym1.weekday() == Tuesday); in main()
87 assert(ym2.weekday() == Tuesday); in main()
101 …static_assert(testConstexprYears (year_month_weekday{year{1}, January, weekday_indexed{Tuesday, 1}… in main()
103 year_month_weekday ym{year{1234}, std::chrono::January, weekday_indexed{Tuesday, 3}}; in main()
112 assert(ym1.weekday() == Tuesday); in main()
113 assert(ym2.weekday() == Tuesday); in main()
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/
Dcomparisons.pass.cpp39 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
43 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main()
44 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main()
49 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main()
55 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main()
56 year_month_weekday_last{year{1234}, February, weekday_last{Tuesday}}, in main()
61 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main()
62 year_month_weekday_last{year{1235}, January, weekday_last{Tuesday}}, in main()
68 year_month_weekday_last{year{1234}, January, weekday_last{Tuesday}}, in main()
74 year_month_weekday_last{year{1234}, February, weekday_last{Tuesday}}, in main()
[all …]
Dplus.pass.cpp61 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
71 …_assert(testConstexprMonths(year_month_weekday_last{year{1}, January, weekday_last{Tuesday}}), ""); in main()
73 year_month_weekday_last ym{year{1234}, January, weekday_last{Tuesday}}; in main()
82 assert(ym1.weekday() == Tuesday); in main()
83 assert(ym2.weekday() == Tuesday); in main()
84 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main()
85 assert(ym2.weekday_last() == weekday_last{Tuesday}); in main()
97 …_assert(testConstexprYears (year_month_weekday_last{year{1}, January, weekday_last{Tuesday}}), ""); in main()
99 year_month_weekday_last ym{year{1234}, std::chrono::January, weekday_last{Tuesday}}; in main()
108 assert(ym1.weekday() == Tuesday); in main()
[all …]
Dminus.pass.cpp55 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
62 …_assert(testConstexprYears(year_month_weekday_last{year{66}, October, weekday_last{Tuesday}}), ""); in main()
64 year_month_weekday_last ym{year{1234}, October, weekday_last{Tuesday}}; in main()
70 assert(ym1.weekday() == Tuesday); in main()
71 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main()
80 …assert(testConstexprMonths(year_month_weekday_last{year{66}, October, weekday_last{Tuesday}}), ""); in main()
82 year_month_weekday_last ym{year{1234}, October, weekday_last{Tuesday}}; in main()
88 assert(ym1.weekday() == Tuesday); in main()
89 assert(ym1.weekday_last() == weekday_last{Tuesday}); in main()
/external/libcxx/test/std/utilities/time/time.cal/time.cal.operators/
Dmonth_weekday_last.pass.cpp48 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
53 ASSERT_NOEXCEPT (February/Tuesday[last]); in main()
54 ASSERT_SAME_TYPE(month_weekday_last, decltype(February/Tuesday[last])); in main()
55 ASSERT_NOEXCEPT (Tuesday[last]/February); in main()
56 ASSERT_SAME_TYPE(month_weekday_last, decltype(Tuesday[last]/February)); in main()
60 constexpr month_weekday_last wdi = February/Tuesday[last]; in main()
62 static_assert(wdi.weekday_last() == Tuesday[last], ""); in main()
82 ASSERT_NOEXCEPT (2/Tuesday[2]); in main()
83 ASSERT_SAME_TYPE(month_weekday_last, decltype(2/Tuesday[last])); in main()
84 ASSERT_NOEXCEPT (Tuesday[2]/2); in main()
[all …]
Dmonth_weekday.pass.cpp55 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
59 ASSERT_NOEXCEPT (February/Tuesday[2]); in main()
60 ASSERT_SAME_TYPE(month_weekday, decltype(February/Tuesday[2])); in main()
61 ASSERT_NOEXCEPT (Tuesday[2]/February); in main()
62 ASSERT_SAME_TYPE(month_weekday, decltype(Tuesday[2]/February)); in main()
66 constexpr month_weekday wdi = February/Tuesday[3]; in main()
68 static_assert(wdi.weekday_indexed() == Tuesday[3], ""); in main()
89 ASSERT_NOEXCEPT (2/Tuesday[2]); in main()
90 ASSERT_SAME_TYPE(month_weekday, decltype(2/Tuesday[2])); in main()
91 ASSERT_NOEXCEPT (Tuesday[2]/2); in main()
[all …]
Dyear_month_weekday_last.pass.cpp53 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
59 ASSERT_NOEXCEPT ( Feb2018/weekday_last{Tuesday}); in main()
60 ASSERT_SAME_TYPE(year_month_weekday_last, decltype(Feb2018/weekday_last{Tuesday})); in main()
62 static_assert((Feb2018/weekday_last{Tuesday}).year() == year{2018}, ""); in main()
63 static_assert((Feb2018/weekday_last{Tuesday}).month() == February, ""); in main()
64 static_assert((Feb2018/weekday_last{Tuesday}).weekday() == Tuesday, ""); in main()
82 constexpr month_weekday_last FebLastTues{February, weekday_last{Tuesday}}; in main()
92 static_assert((year{2018}/FebLastTues).weekday() == Tuesday, ""); in main()
95 static_assert((FebLastTues/year{2018}).weekday() == Tuesday, ""); in main()
119 constexpr month_weekday_last FebLastTues{February, weekday_last{Tuesday}}; in main()
[all …]
Dyear_month_weekday.pass.cpp52 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
59 ASSERT_NOEXCEPT ( Feb2018/weekday_indexed{Tuesday, 2}); in main()
60 ASSERT_SAME_TYPE(year_month_weekday, decltype(Feb2018/weekday_indexed{Tuesday, 2})); in main()
62 static_assert((Feb2018/weekday_indexed{Tuesday, 2}).year() == year{2018}, "" ); in main()
63 static_assert((Feb2018/weekday_indexed{Tuesday, 2}).month() == February, "" ); in main()
64 static_assert((Feb2018/weekday_indexed{Tuesday, 2}).weekday() == Tuesday, "" ); in main()
82 constexpr month_weekday Feb1stTues{February, weekday_indexed{Tuesday, 1}}; in main()
90 static_assert((year{2018}/Feb1stTues).weekday() == Tuesday, "" ); in main()
115 constexpr month_weekday Feb1stTues{February, weekday_indexed{Tuesday, 1}}; in main()
123 static_assert((2018/Feb1stTues).weekday() == Tuesday, "" ); in main()
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/
Dok.pass.cpp32 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
39 …static_assert(!year_month_weekday_last{year{-32768}, January, weekday_last{Tuesday}}.ok(), "");… in main()
40 …static_assert(!year_month_weekday_last{year{2019}, month{}, weekday_last{Tuesday}}.ok(), "");… in main()
43 …static_assert(!year_month_weekday_last{year{-32768}, month{}, weekday_last{Tuesday}}.ok(), "");… in main()
47 …static_assert( year_month_weekday_last{year{2019}, January, weekday_last{Tuesday}}.ok(), "");… in main()
51 year_month_weekday_last ym{year{2019}, January, weekday_last{Tuesday}}; in main()
52 assert((ym.ok() == weekday_last{Tuesday}.ok())); in main()
63 year_month_weekday_last ym{year{2019}, month{i}, weekday_last{Tuesday}}; in main()
70 year_month_weekday_last ym{year{i}, January, weekday_last{Tuesday}}; in main()
Dplus_minus_equal_month.pass.cpp51 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
52 …h_weekday_last, months>(year_month_weekday_last{year{1234}, month{1}, weekday_last{Tuesday}}), ""); in main()
57 year_month_weekday_last ymwd(y, month{i}, weekday_last{Tuesday}); in main()
61 assert(ymwd.weekday() == Tuesday); in main()
65 assert(ymwd.weekday() == Tuesday); in main()
69 assert(ymwd.weekday() == Tuesday); in main()
73 assert(ymwd.weekday() == Tuesday); in main()
Dplus_minus_equal_year.pass.cpp51 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
54 …_month_weekday_last, years>(year_month_weekday_last{year{1}, January, weekday_last{Tuesday}}), ""); in main()
58 year_month_weekday_last ymwd(year{i}, January, weekday_last{Tuesday}); in main()
62 assert(ymwd.weekday() == Tuesday); in main()
66 assert(ymwd.weekday() == Tuesday); in main()
70 assert(ymwd.weekday() == Tuesday); in main()
74 assert(ymwd.weekday() == Tuesday); in main()
Dctor.pass.cpp41 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
43 ASSERT_NOEXCEPT(year_month_weekday_last{year{1}, month{1}, weekday_last{Tuesday}}); in main()
45 constexpr year_month_weekday_last ym1{year{2019}, January, weekday_last{Tuesday}}; in main()
48 static_assert( ym1.weekday() == Tuesday, ""); in main()
49 static_assert( ym1.weekday_last() == weekday_last{Tuesday}, ""); in main()
Dop_sys_days.pass.cpp40 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
43 constexpr year_month_weekday_last ymwdl{year{1970}, January, weekday_last{Tuesday}}; in main()
50 constexpr year_month_weekday_last ymwdl{year{2000}, January, weekday_last{Tuesday}}; in main()
57 constexpr year_month_weekday_last ymwdl{year{1940}, January, weekday_last{Tuesday}}; in main()
64 year_month_weekday_last ymdl{year{1939}, std::chrono::November, weekday_last{Tuesday}}; in main()
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/
Dok.pass.cpp32 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
41 …static_assert(!year_month_weekday{year{-32768}, January, weekday_indexed{Tuesday, 1}}.ok(), ""); /… in main()
42 …static_assert(!year_month_weekday{year{2019}, month{}, weekday_indexed{Tuesday, 1}}.ok(), ""); /… in main()
45 …static_assert(!year_month_weekday{year{-32768}, month{}, weekday_indexed{Tuesday, 1}}.ok(), ""); /… in main()
49 …static_assert( year_month_weekday{year{2019}, January, weekday_indexed{Tuesday, 1}}.ok(), ""); /… in main()
53 year_month_weekday ym{year{2019}, January, weekday_indexed{Tuesday, i}}; in main()
54 assert((ym.ok() == weekday_indexed{Tuesday, i}.ok())); in main()
65 year_month_weekday ym{year{2019}, month{i}, weekday_indexed{Tuesday, 1}}; in main()
72 year_month_weekday ym{year{i}, January, weekday_indexed{Tuesday, 1}}; in main()
Dplus_minus_equal_year.pass.cpp51 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
54 …year_month_weekday, years>(year_month_weekday{year{1}, January, weekday_indexed{Tuesday, 2}}), ""); in main()
58 year_month_weekday ymwd(year{i}, January, weekday_indexed{Tuesday, 2}); in main()
62 assert(ymwd.weekday() == Tuesday); in main()
67 assert(ymwd.weekday() == Tuesday); in main()
72 assert(ymwd.weekday() == Tuesday); in main()
77 assert(ymwd.weekday() == Tuesday); in main()
Dplus_minus_equal_month.pass.cpp52 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
53 …month_weekday, months>(year_month_weekday{year{1234}, month{1}, weekday_indexed{Tuesday, 2}}), ""); in main()
58 year_month_weekday ymwd(y, month{i}, weekday_indexed{Tuesday, 2}); in main()
62 assert(ymwd.weekday() == Tuesday); in main()
67 assert(ymwd.weekday() == Tuesday); in main()
72 assert(ymwd.weekday() == Tuesday); in main()
77 assert(ymwd.weekday() == Tuesday); in main()
Dctor.pass.cpp43 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
46 ASSERT_NOEXCEPT(year_month_weekday{year{1}, month{1}, weekday_indexed{Tuesday, 1}}); in main()
56 constexpr year_month_weekday ym1{year{2019}, January, weekday_indexed{Tuesday, 1}}; in main()
59 static_assert( ym1.weekday() == Tuesday, ""); in main()
61 static_assert( ym1.weekday_indexed() == weekday_indexed{Tuesday, 1}, ""); in main()
/external/libcxx/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.nonmembers/
Dcomparisons.pass.cpp36 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
43 month_weekday_last{std::chrono::January, weekday_last{Tuesday}}, in main()
44 month_weekday_last{std::chrono::January, weekday_last{Tuesday}}, in main()
48 month_weekday_last{std::chrono::January, weekday_last{Tuesday}}, in main()
56 month_weekday_last{month{i}, weekday_last{Tuesday}}, in main()
57 month_weekday_last{month{j}, weekday_last{Tuesday}}, in main()
/external/libcxx/test/std/utilities/time/time.cal/time.cal.mwdlast/time.cal.mwdlast.members/
Dctor.pass.cpp39 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
41 ASSERT_NOEXCEPT(month_weekday_last{January, weekday_last{Tuesday}}); in main()
44 constexpr month_weekday_last mwdl1{month{}, weekday_last{Tuesday}}; in main()
46 static_assert( mwdl1.weekday_last() == weekday_last{Tuesday}, ""); in main()
Dmonth.pass.cpp30 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
35 static_assert( month_weekday_last{month{}, weekday_last{Tuesday}}.month() == month{}, ""); in main()
39 month_weekday_last mdl(month{i}, weekday_last{Tuesday}); in main()
Dweekday_last.pass.cpp31 constexpr weekday Tuesday = std::chrono::Tuesday; in main() local
32 constexpr weekday_last lastTuesday = weekday_last{Tuesday}; in main()
/external/libcxx/test/std/utilities/time/time.cal/time.cal.weekday/time.cal.weekday.nonmembers/
Dliterals.pass.cpp33 ASSERT_SAME_TYPE(const std::chrono::weekday, decltype(std::chrono::Tuesday)); in main()
41 static_assert( std::chrono::Tuesday == std::chrono::weekday(2), ""); in main()
49 assert(std::chrono::Tuesday == std::chrono::weekday(2)); in main()
57 assert(static_cast<unsigned>(std::chrono::Tuesday) == 2); in main()
/external/libcxx/test/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.members/
Dok.pass.cpp34 assert(!(weekday_indexed(std::chrono::Tuesday, 0).ok())); in main()
37 weekday_indexed wdi(std::chrono::Tuesday, i); in main()
43 weekday_indexed wdi(std::chrono::Tuesday, i); in main()

123