Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.members/
Dok.pass.cpp29 using month_day = std::chrono::month_day; in main() typedef
31 ASSERT_NOEXCEPT( std::declval<const month_day>().ok()); in main()
32 ASSERT_SAME_TYPE(bool, decltype(std::declval<const month_day>().ok())); in main()
34 static_assert(!month_day{}.ok(), ""); in main()
35 static_assert( month_day{std::chrono::May, day{2}}.ok(), ""); in main()
37 assert(!(month_day(std::chrono::April, day{0}).ok())); in main()
39 assert( (month_day{std::chrono::March, day{1}}.ok())); in main()
43 assert(!(month_day{month{i}, day{ 0}}.ok())); in main()
44 assert( (month_day{month{i}, day{ 1}}.ok())); in main()
45 assert( (month_day{month{i}, day{10}}.ok())); in main()
[all …]
Dday.pass.cpp26 using month_day = std::chrono::month_day; in main() typedef
28 ASSERT_NOEXCEPT( std::declval<const month_day>().day()); in main()
29 ASSERT_SAME_TYPE(day, decltype(std::declval<const month_day>().day())); in main()
31 static_assert( month_day{}.day() == day{}, ""); in main()
35 month_day md(std::chrono::March, day{i}); in main()
Dmonth.pass.cpp27 using month_day = std::chrono::month_day; in main() typedef
29 ASSERT_NOEXCEPT( std::declval<const month_day>().month()); in main()
30 ASSERT_SAME_TYPE(month, decltype(std::declval<const month_day>().month())); in main()
32 static_assert( month_day{}.month() == month{}, ""); in main()
36 month_day md(month{i}, day{1}); in main()
Dctor.pass.cpp33 using month_day = std::chrono::month_day; in main() typedef
35 ASSERT_NOEXCEPT(month_day{}); in main()
36 ASSERT_NOEXCEPT(month_day{month{1}, day{1}}); in main()
38 constexpr month_day md0{}; in main()
43 constexpr month_day md1{std::chrono::January, day{4}}; in main()
/external/libcxx/test/std/utilities/time/time.cal/time.cal.md/time.cal.md.nonmembers/
Dcomparisons.pass.cpp34 using month_day = std::chrono::month_day; in main() typedef
36 AssertComparisons6AreNoexcept<month_day>(); in main()
37 AssertComparisons6ReturnBool<month_day>(); in main()
40 month_day{std::chrono::January, day{1}}, in main()
41 month_day{std::chrono::January, day{1}}, in main()
45 month_day{std::chrono::January, day{1}}, in main()
46 month_day{std::chrono::January, day{2}}, in main()
50 month_day{std::chrono::January, day{1}}, in main()
51 month_day{std::chrono::February, day{1}}, in main()
58 month_day{month{i}, day{1}}, in main()
[all …]
Dstreaming.pass.cpp37 using month_day = std::chrono::month_day; in main() typedef
40 std::cout << month_day{month{1}, day{1}}; in main()
/external/libcxx/test/std/utilities/time/time.cal/time.cal.operators/
Dyear_month_day.pass.cpp52 using month_day = std::chrono::month_day; in main() typedef
130 ASSERT_NOEXCEPT ( year{2018}/month_day{February, day{2}}); in main()
131 ASSERT_SAME_TYPE(year_month_day, decltype(year{2018}/month_day{February, day{2}})); in main()
132 ASSERT_NOEXCEPT ( month_day{February, day{2}}/year{2018}); in main()
133 ASSERT_SAME_TYPE(year_month_day, decltype(month_day{February, day{2}}/year{2018})); in main()
135 static_assert((year{2018}/month_day{February, day{2}}).month() == February, "" ); in main()
136 static_assert((year{2018}/month_day{February, day{2}}).day() == day{2}, "" ); in main()
137 static_assert((month_day{February, day{2}}/year{2018}).month() == February, "" ); in main()
138 static_assert((month_day{February, day{2}}/year{2018}).day() == day{2}, "" ); in main()
147 month_day md(m, d); in main()
[all …]
Dmonth_day.pass.cpp44 using month_day = std::chrono::month_day; in main() typedef
52 ASSERT_SAME_TYPE(month_day, decltype(February/day{1})); in main()
54 ASSERT_SAME_TYPE(month_day, decltype(day{1}/February)); in main()
61 month_day md1 = m/d; in main()
62 month_day md2 = d/m; in main()
74 ASSERT_SAME_TYPE(month_day, decltype(February/2)); in main()
81 month_day md1 = m/j; in main()
90 ASSERT_SAME_TYPE(month_day, decltype(day{2}/2)); in main()
92 ASSERT_SAME_TYPE(month_day, decltype(2/day{2})); in main()
99 month_day md1 = d/i; in main()
[all …]
/external/libcxx/test/std/utilities/time/time.cal/time.cal.md/
Dtypes.pass.cpp22 using month_day = std::chrono::month_day; in main() typedef
24 static_assert(std::is_trivially_copyable_v<month_day>, ""); in main()
25 static_assert(std::is_standard_layout_v<month_day>, ""); in main()
/external/libcxx/include/
Dchrono394 // 25.8.9, class month_day // C++20
395 class month_day;
397 constexpr bool operator==(const month_day& x, const month_day& y) noexcept;
398 constexpr bool operator!=(const month_day& x, const month_day& y) noexcept;
399 constexpr bool operator< (const month_day& x, const month_day& y) noexcept;
400 constexpr bool operator> (const month_day& x, const month_day& y) noexcept;
401 constexpr bool operator<=(const month_day& x, const month_day& y) noexcept;
402 constexpr bool operator>=(const month_day& x, const month_day& y) noexcept;
539 constexpr month_day
541 constexpr month_day
[all …]
/external/pdfium/xfa/fgas/crt/
Dcfgas_formatstring.cpp523 static const uint16_t month_day[] = {0, 3, 3, 6, 1, 4, 6, 2, 5, 0, 3, 5}; in GetWeekDay() local
526 nDays += month_day[month - 1] + day; in GetWeekDay()