NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <date.h>
Public Types | |
using | precision = std::chrono::duration< rep, std::ratio< 1, static_pow10< width >::value > > |
Public Member Functions | |
CONSTCD11 | decimal_format_seconds () |
CONSTCD11 | decimal_format_seconds (const Duration &d) NOEXCEPT |
CONSTCD14 std::chrono::seconds & | seconds () NOEXCEPT |
CONSTCD11 std::chrono::seconds | seconds () const NOEXCEPT |
CONSTCD11 precision | subseconds () const NOEXCEPT |
CONSTCD14 precision | to_duration () const NOEXCEPT |
CONSTCD11 bool | in_conventional_range () const NOEXCEPT |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | print (std::basic_ostream< CharT, Traits > &os, std::true_type) const |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | print (std::basic_ostream< CharT, Traits > &os, std::false_type) const |
Static Public Attributes | |
static unsigned CONSTDATA | width = trial_width < 19 ? trial_width : 6u |
Private Types | |
using | CT = typename std::common_type< Duration, std::chrono::seconds >::type |
using | rep = typename CT::rep |
Private Attributes | |
std::chrono::seconds | s_ |
precision | sub_s_ |
Static Private Attributes | |
static unsigned CONSTDATA | trial_width |
Friends | |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const decimal_format_seconds &x) |
|
private |
using date::detail::decimal_format_seconds< Duration >::precision = std::chrono::duration<rep, std::ratio<1, static_pow10<width>::value> > |
|
private |
|
inline |
|
inlineexplicit |
|
inline |
Definition at line 3984 of file date.h.
Referenced by date::hh_mm_ss< Duration >::in_conventional_range().
|
inline |
Definition at line 4012 of file date.h.
References date::literals::dec.
|
inline |
Definition at line 3999 of file date.h.
References fast_float::fixed.
|
inline |
|
inline |
Definition at line 3975 of file date.h.
Referenced by date::hh_mm_ss< Duration >::seconds().
|
inline |
Definition at line 3977 of file date.h.
Referenced by date::hh_mm_ss< Duration >::subseconds().
|
inline |
Definition at line 3979 of file date.h.
Referenced by date::hh_mm_ss< Duration >::to_duration().
|
friend |
|
private |
|
private |
|
staticprivate |
|
static |