Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/time/time.hms/time.12/
H A Dmake24.pass.cpp28 ASSERT_NOEXCEPT( std::chrono::make24(std::declval<hours>(), false)); in main()
30 static_assert( std::chrono::make24(hours( 1), false) == hours( 1), ""); in main()
31 static_assert( std::chrono::make24(hours(11), false) == hours(11), ""); in main()
32 static_assert( std::chrono::make24(hours(12), false) == hours( 0), ""); in main()
33 static_assert( std::chrono::make24(hours( 1), true) == hours(13), ""); in main()
34 static_assert( std::chrono::make24(hours(11), true) == hours(23), ""); in main()
35 static_assert( std::chrono::make24(hours(12), true) == hours(12), ""); in main()
39 assert((std::chrono::make24(hours(i), false)) == hours(i)); in main()
40 assert((std::chrono::make24(hours(i), true)) == hours(12+i)); in main()
42 assert((std::chrono::make24(hours(12), false)) == hours( 0)); in main()
[all …]
/llvm-project-15.0.7/libcxx/include/__chrono/
H A Dhh_mm_ss.h99 _LIBCPP_HIDE_FROM_ABI constexpr hours make24(const hours& __h, bool __is_pm) noexcept in make24() function
/llvm-project-15.0.7/libcxx/include/
H A Dchrono637 constexpr hours make24(const hours& h, bool is_pm) noexcept;