9#include <userver/logging/log_helper.hpp>
11USERVER_NAMESPACE_BEGIN
17 using TimePoint = std::chrono::system_clock::time_point;
19 constexpr TimePointTzBase() =
default;
20 constexpr explicit TimePointTzBase(TimePoint tp) : tp_(tp) {}
21 constexpr TimePointTzBase(TimePoint tp, std::chrono::seconds tz_offset)
22 : tp_(tp), tz_offset_(tz_offset) {}
31 operator TimePoint()
const;
51 std::chrono::seconds tz_offset_{};
71logging::LogHelper& operator<<(
logging::LogHelper& os,
const TimePointTz& v);
79 const TimePointTzIsoBasic& v);