Home
last modified time | relevance | path

Searched refs:month_weekday (Results 1 – 11 of 11) sorted by relevance

/external/libcxx/test/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.nonmembers/
Dcomparisons.pass.cpp27 using month_weekday = std::chrono::month_weekday; in main() typedef
35 AssertComparisons2AreNoexcept<month_weekday>(); in main()
36 AssertComparisons2ReturnBool<month_weekday>(); in main()
39 month_weekday{std::chrono::January, weekday_indexed{Sunday, 1}}, in main()
40 month_weekday{std::chrono::January, weekday_indexed{Sunday, 1}}, in main()
44 month_weekday{std::chrono::January, weekday_indexed{Sunday, 1}}, in main()
45 month_weekday{std::chrono::January, weekday_indexed{Sunday, 2}}, in main()
49 month_weekday{std::chrono::January, weekday_indexed{Sunday, 1}}, in main()
50 month_weekday{std::chrono::February, weekday_indexed{Sunday, 1}}, in main()
54 month_weekday{std::chrono::January, weekday_indexed{Monday, 1}}, in main()
[all …]
Dstreaming.pass.cpp30 using month_weekday = std::chrono::month_weekday; in main() typedef
35 std::cout << month_weekday{month{1}, weekday_indexed{weekday{3}, 3}}; in main()
/external/libcxx/test/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/
Dok.pass.cpp25 using month_weekday = std::chrono::month_weekday; in main() typedef
32 ASSERT_NOEXCEPT( std::declval<const month_weekday>().ok()); in main()
33 ASSERT_SAME_TYPE(bool, decltype(std::declval<const month_weekday>().ok())); in main()
35 static_assert(!month_weekday{month{}, weekday_indexed{}}.ok(), ""); in main()
36 static_assert( month_weekday{std::chrono::May, weekday_indexed{Sunday, 2}}.ok(), ""); in main()
38 assert(!(month_weekday(std::chrono::April, weekday_indexed{Sunday, 0}).ok())); in main()
39 assert( (month_weekday{std::chrono::March, weekday_indexed{Sunday, 1}}.ok())); in main()
44 month_weekday mwd{month{i}, weekday_indexed{Sunday, j}}; in main()
50 assert(!(month_weekday{month{13}, weekday_indexed{Sunday, i}}.ok())); in main()
Dmonth.pass.cpp25 using month_weekday = std::chrono::month_weekday; in main() typedef
32 ASSERT_NOEXCEPT( std::declval<const month_weekday>().month()); in main()
33 ASSERT_SAME_TYPE(month, decltype(std::declval<const month_weekday>().month())); in main()
35 static_assert( month_weekday{}.month() == month{}, ""); in main()
39 month_weekday md(month{i}, weekday_indexed{Sunday, 1}); in main()
Dweekday_indexed.pass.cpp25 using month_weekday = std::chrono::month_weekday; in main() typedef
32 … ASSERT_NOEXCEPT( std::declval<const month_weekday>().weekday_indexed()); in main()
33 …ASSERT_SAME_TYPE(weekday_indexed, decltype(std::declval<const month_weekday>().weekday_indexed())); in main()
35 …static_assert( month_weekday{month{}, weekday_indexed{}}.weekday_indexed() == weekday_indexed{}, "… in main()
39 month_weekday md(std::chrono::March, weekday_indexed{Sunday, i}); in main()
Dctor.pass.cpp30 using month_weekday = std::chrono::month_weekday; in main() typedef
35 ASSERT_NOEXCEPT(month_weekday{month{1}, weekday_indexed{weekday{}, 1}}); in main()
37 constexpr month_weekday md0{month{}, weekday_indexed{}}; in main()
42 constexpr month_weekday md1{std::chrono::January, weekday_indexed{std::chrono::Friday, 4}}; in main()
/external/libcxx/test/std/utilities/time/time.cal/time.cal.operators/
Dmonth_weekday.pass.cpp50 using month_weekday = std::chrono::month_weekday; in main() typedef
60 ASSERT_SAME_TYPE(month_weekday, decltype(February/Tuesday[2])); in main()
62 ASSERT_SAME_TYPE(month_weekday, decltype(Tuesday[2]/February)); in main()
66 constexpr month_weekday wdi = February/Tuesday[3]; in main()
77 month_weekday mwd1 = m/wdi; in main()
78 month_weekday mwd2 = wdi/m; in main()
90 ASSERT_SAME_TYPE(month_weekday, decltype(2/Tuesday[2])); in main()
92 ASSERT_SAME_TYPE(month_weekday, decltype(Tuesday[2]/2)); in main()
96 constexpr month_weekday wdi = 2/Tuesday[3]; in main()
106 month_weekday mwd1 = i/wdi; in main()
[all …]
Dyear_month_weekday.pass.cpp45 using month_weekday = std::chrono::month_weekday; in main() typedef
82 constexpr month_weekday Feb1stTues{February, weekday_indexed{Tuesday, 1}}; in main()
100 month_weekday mwd{m, weekday_indexed{weekday{k}, l}}; in main()
115 constexpr month_weekday Feb1stTues{February, weekday_indexed{Tuesday, 1}}; in main()
133 month_weekday mwd{m, weekday_indexed{weekday{k}, l}}; in main()
Dmonth_weekday_last.pass.cpp42 using month_weekday = std::chrono::month_weekday; in main() typedef
89 constexpr month_weekday wdi = 2/Tuesday[3]; in main()
/external/libcxx/test/std/utilities/time/time.cal/time.cal.mwd/
Dtypes.pass.cpp22 using month_weekday = std::chrono::month_weekday; in main() typedef
24 static_assert(std::is_trivially_copyable_v<month_weekday>, ""); in main()
25 static_assert(std::is_standard_layout_v<month_weekday>, ""); in main()
/external/libcxx/include/
Dchrono415 // 25.8.11, class month_weekday // C++20
416 class month_weekday;
418 constexpr bool operator==(const month_weekday& x, const month_weekday& y) noexcept;
419 constexpr bool operator!=(const month_weekday& x, const month_weekday& y) noexcept;
557 constexpr month_weekday
559 constexpr month_weekday
561 constexpr month_weekday
563 constexpr month_weekday
598 operator/(const year& y, const month_weekday& mwd) noexcept;
600 operator/(int y, const month_weekday& mwd) noexcept;
[all …]