Home
last modified time | relevance | path

Searched refs:is_pm (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/time/time.hms/time.12/
H A Dis_pm.pass.cpp23 ASSERT_SAME_TYPE(bool, decltype(std::chrono::is_pm(std::declval<hours>()))); in main()
24 ASSERT_NOEXCEPT( std::chrono::is_pm(std::declval<hours>())); in main()
26 static_assert(!std::chrono::is_pm(hours( 0)), ""); in main()
27 static_assert(!std::chrono::is_pm(hours(11)), ""); in main()
28 static_assert( std::chrono::is_pm(hours(12)), ""); in main()
29 static_assert( std::chrono::is_pm(hours(23)), ""); in main()
32 assert(!std::chrono::is_pm(hours(i))); in main()
34 assert( std::chrono::is_pm(hours(i))); in main()
/llvm-project-15.0.7/libcxx/include/__chrono/
H A Dhh_mm_ss.h90 _LIBCPP_HIDE_FROM_ABI constexpr bool is_pm(const hours& __h) noexcept { return __h >= hours(12) && … in is_pm() function
/llvm-project-15.0.7/libcxx/include/
H A Dchrono635 constexpr bool is_pm(hours const& h) noexcept;
637 constexpr hours make24(const hours& h, bool is_pm) noexcept;