![]() |
Scarab
v3.7.1
Project 8 C++ Utility Library
|
#include <date.h>
Public Types | |
using | rep = typename std::common_type< Duration, std::chrono::seconds >::type::rep |
using | precision = typename make_precision< rep, w >::type |
Public Member Functions | |
constexpr | decimal_format_seconds () |
constexpr | decimal_format_seconds (const Duration &d) noexcept |
std::chrono::seconds & | seconds () noexcept |
constexpr std::chrono::seconds | seconds () const noexcept |
constexpr precision | subseconds () 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_ |
precision | sub_s_ |
Friends | |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const decimal_format_seconds &x) |
using precision = typename make_precision<rep, w>::type |
using rep = typename std::common_type<Duration, std::chrono::seconds>::type::rep |
|
inline |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
friend |
|
static |