File indexing completed on 2026-05-03 08:13:24
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef _LIBCPP___CXX03___CHRONO_CALENDAR_H
0011 #define _LIBCPP___CXX03___CHRONO_CALENDAR_H
0012
0013 #include <__cxx03/__chrono/duration.h>
0014 #include <__cxx03/__chrono/time_point.h>
0015 #include <__cxx03/__config>
0016
0017 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0018 # pragma GCC system_header
0019 #endif
0020
0021 #if _LIBCPP_STD_VER >= 20
0022
0023 _LIBCPP_BEGIN_NAMESPACE_STD
0024
0025 namespace chrono {
0026
0027 struct local_t {};
0028 template <class _Duration>
0029 using local_time = time_point<local_t, _Duration>;
0030 using local_seconds = local_time<seconds>;
0031 using local_days = local_time<days>;
0032
0033 struct last_spec {
0034 explicit last_spec() = default;
0035 };
0036 inline constexpr last_spec last{};
0037
0038 }
0039
0040 _LIBCPP_END_NAMESPACE_STD
0041
0042 #endif
0043
0044 #endif