The Battle for Wesnoth  1.19.7+dev
Namespaces | Functions | Variables
format_timespan.hpp File Reference
#include "formula/string_utils.hpp"
#include "serialization/chrono.hpp"
#include <array>
#include <chrono>
#include <string>
#include <vector>
Include dependency graph for format_timespan.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 utils
 
 utils::implementation
 

Functions

template<typename Rep , typename Period >
static std::string utils::format_timespan (const std::chrono::duration< Rep, Period > &span, bool detailed=false)
 Formats a timespan into human-readable text for player authentication functions. More...
 

Variables

static constexpr std::array utils::implementation::descriptors
 
static constexpr auto utils::implementation::deconstruct_format