![]() |
Scarab
v2.0.0
Project 8 C++ Utility Library
|
#include <date.h>
Public Types | |
using | rep = typename std::common_type< Duration, std::chrono::seconds >::type::rep |
using | precision = std::chrono::duration< rep > |
Public Member Functions | |
constexpr | decimal_format_seconds () |
constexpr | decimal_format_seconds (const precision &s) noexcept |
std::chrono::seconds & | seconds () noexcept |
constexpr std::chrono::seconds | seconds () const noexcept |
precision | to_duration () const noexcept |
constexpr bool | in_conventional_range () const noexcept |
Static Public Attributes | |
static auto constexpr const | width = make_precision<rep, w>::width |
Private Attributes | |
std::chrono::seconds | s_ |
Static Private Attributes | |
static constexpr const unsigned | w = 0 |
Friends | |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const decimal_format_seconds &x) |
using rep = typename std::common_type<Duration, std::chrono::seconds>::type::rep |
|
inline |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
friend |
|
static |