12#include "../macros.hpp"
14#include "exception.hpp"
17hi_export_module(hikogui.utility.time_zone);
19hi_export
namespace hi {
inline namespace v1 {
22[[
nodiscard]] hi_inline std::chrono::time_zone
const *_cached_current_zone()
noexcept
25 return std::chrono::current_zone();
27 hi_no_default(
"std::chrono::current_zone() throws");
41 static auto *
zone = detail::_cached_current_zone();
Utilities for throwing exceptions and terminating the application.
DOXYGEN BUG.
Definition algorithm_misc.hpp:20
The HikoGUI namespace.
Definition recursive_iterator.hpp:15
hi_inline std::chrono::time_zone const & cached_current_zone() noexcept
Cached current time zone.
Definition time_zone.hpp:39
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:378