NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <date.h>
Public Types | |
using | precision = typename dfs::precision |
Public Member Functions | |
CONSTCD11 | hh_mm_ss () NOEXCEPT |
CONSTCD11 | hh_mm_ss (Duration d) NOEXCEPT |
CONSTCD11 std::chrono::hours | hours () const NOEXCEPT |
CONSTCD11 std::chrono::minutes | minutes () const NOEXCEPT |
CONSTCD11 std::chrono::seconds | seconds () const NOEXCEPT |
CONSTCD14 std::chrono::seconds & | seconds (detail::undocumented) NOEXCEPT |
CONSTCD11 precision | subseconds () const NOEXCEPT |
CONSTCD11 bool | is_negative () const NOEXCEPT |
CONSTCD11 | operator precision () const NOEXCEPT |
CONSTCD11 precision | to_duration () const NOEXCEPT |
CONSTCD11 bool | in_conventional_range () const NOEXCEPT |
Static Public Attributes | |
static unsigned CONSTDATA | fractional_width = dfs::width |
Private Types | |
using | dfs = detail::decimal_format_seconds< typename std::common_type< Duration, std::chrono::seconds >::type > |
Private Attributes | |
std::chrono::hours | h_ |
std::chrono::minutes | m_ |
dfs | s_ |
bool | neg_ |
Friends | |
template<class charT , class traits > | |
std::basic_ostream< charT, traits > & | operator<< (std::basic_ostream< charT, traits > &os, hh_mm_ss const &tod) |
template<class CharT , class Traits , class Duration2 > | |
std::basic_ostream< CharT, Traits > & | date::to_stream (std::basic_ostream< CharT, Traits > &os, const CharT *fmt, const fields< Duration2 > &fds, const std::string *abbrev, const std::chrono::seconds *offset_sec) |
template<class CharT , class Traits , class Duration2 , class Alloc > | |
std::basic_istream< CharT, Traits > & | date::from_stream (std::basic_istream< CharT, Traits > &is, const CharT *fmt, fields< Duration2 > &fds, std::basic_string< CharT, Traits, Alloc > *abbrev, std::chrono::minutes *offset) |
|
private |
using date::hh_mm_ss< Duration >::precision = typename dfs::precision |
|
inline |
|
inlineexplicit |
|
inline |
Definition at line 4089 of file date.h.
Referenced by date::to_stream().
|
inline |
Definition at line 4101 of file date.h.
References date::detail::decimal_format_seconds< Duration >::in_conventional_range().
|
inline |
|
inline |
Definition at line 4090 of file date.h.
Referenced by date::to_stream().
|
inlineexplicit |
|
inline |
Definition at line 4091 of file date.h.
References date::detail::decimal_format_seconds< Duration >::seconds().
Referenced by date::to_stream().
|
inline |
Definition at line 4093 of file date.h.
References date::detail::decimal_format_seconds< Duration >::seconds().
|
inline |
Definition at line 4094 of file date.h.
References date::detail::decimal_format_seconds< Duration >::subseconds().
|
inline |
Definition at line 4098 of file date.h.
References date::detail::decimal_format_seconds< Duration >::to_duration().
|
friend |
|
friend |
|
friend |
|
static |
|
private |
|
private |
|
private |
|
private |