#include "config_attribute_value.hpp"
#include <algorithm>
#include <chrono>
#include <iomanip>
#include <sstream>
#include <string_view>
Go to the source code of this file.
|
using | chrono::days = std::chrono::duration< int, std::ratio< 86400 > > |
|
using | chrono::weeks = std::chrono::duration< int, std::ratio< 604800 > > |
|
using | chrono::months = std::chrono::duration< int, std::ratio< 2629746 > > |
|
using | chrono::years = std::chrono::duration< int, std::ratio< 31556952 > > |
|
|
auto | chrono::parse_timestamp (long long val) |
|
auto | chrono::parse_timestamp (const config_attribute_value &val) |
|
auto | chrono::serialize_timestamp (const std::chrono::system_clock::time_point &time) |
|
auto | chrono::format_local_timestamp (const std::chrono::system_clock::time_point &time, std::string_view format="%F %T") |
|
template<typename Duration > |
auto | chrono::parse_duration (const config_attribute_value &val, const Duration &def=Duration{0}) |
|
template<typename RepE , typename PeriodE , typename RepD , typename PeriodD > |
constexpr double | chrono::normalize_progress (const std::chrono::duration< RepE, PeriodE > &elapsed, const std::chrono::duration< RepD, PeriodD > &duration) |
|
template<typename... Ts, typename Rep , typename Period > |
constexpr auto | chrono::deconstruct_duration (const std::tuple< Ts... > &, const std::chrono::duration< Rep, Period > &span) |
|