userver: userver/chaotic/io/userver/storages/postgres/time_point_tz.hpp Source File
Loading...
Searching...
No Matches
time_point_tz.hpp
1#pragma once
2
3// Utilitary header for chaotic for a custom type serialization/parsing support
4
5#include <userver/chaotic/convert/to.hpp>
6#include <userver/storages/postgres/io/chrono.hpp>
7
8USERVER_NAMESPACE_BEGIN
9
10namespace storages::postgres {
11
12TimePointTz Convert(const std::string& str, chaotic::convert::To<TimePointTz>);
13
14std::string Convert(const TimePointTz& tp, chaotic::convert::To<std::string>);
15
16} // namespace storages::postgres
17
18USERVER_NAMESPACE_END