userver: userver/formats/serialize/time_of_day.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
time_of_day.hpp File Reference

Detailed Description

utils::datetime::TimeOfDay to any format

Definition in file time_of_day.hpp.

Go to the source code of this file.

#include <fmt/format.h>
#include <userver/utils/time_of_day.hpp>
#include <userver/formats/serialize/to.hpp>
+ Include dependency graph for time_of_day.hpp:

Namespaces

namespace  formats
 Value formats representation, parsing and serialization.
 
namespace  formats::serialize
 Common serializers.
 

Functions

template<typename Value , typename Duration >
Value formats::serialize::Serialize (const utils::datetime::TimeOfDay< Duration > &value, To< Value >)
 
template<typename Value , typename Duration , typename StringBuilder >
void formats::serialize::WriteToStream (const utils::datetime::TimeOfDay< Duration > &value, StringBuilder &sw)