|
template<typename To , typename From , FMT_ENABLE_IF(!std::is_same< From, To >::value && std::numeric_limits< From >::is_signed== std::numeric_limits< To >::is_signed) > |
FMT_CONSTEXPR To | safe_duration_cast::lossless_integral_conversion (const From from, int &ec) |
| converts From to To, without loss. More...
|
|
template<typename To , typename From , FMT_ENABLE_IF(!std::is_same< From, To >::value) > |
FMT_CONSTEXPR To | safe_duration_cast::safe_float_conversion (const From from, int &ec) |
| converts From to To if possible, otherwise ec is set. More...
|
|
template<typename To , typename FromRep , typename FromPeriod , FMT_ENABLE_IF(std::is_integral< FromRep >::value) , FMT_ENABLE_IF(std::is_integral< typename To::rep >::value) > |
To | safe_duration_cast::safe_duration_cast (std::chrono::duration< FromRep, FromPeriod > from, int &ec) |
| safe duration cast between integral durations More...
|
|
null localtime_r | detail::FMT_NOMACRO (...) |
|
null | detail::localtime_s (...) |
|
null | detail::gmtime_r (...) |
|
null | detail::gmtime_s (...) |
|
const std::locale & | detail::get_classic_locale () |
|
template<typename CodeUnit > |
void | detail::write_codecvt (codecvt_result< CodeUnit > &out, string_view in_buf, const std::locale &loc) |
|
template<typename OutputIt > |
auto | detail::write_encoded_tm_str (OutputIt out, string_view in, const std::locale &loc) -> OutputIt |
|
template<typename Char , typename OutputIt , FMT_ENABLE_IF(!std::is_same< Char, char >::value) > |
auto | detail::write_tm_str (OutputIt out, string_view sv, const std::locale &loc) -> OutputIt |
|
template<typename Char > |
void | detail::do_write (buffer< Char > &buf, const std::tm &time, const std::locale &loc, char format, char modifier) |
|
template<typename Char , typename OutputIt , FMT_ENABLE_IF(!std::is_same< Char, char >::value) > |
auto | detail::write (OutputIt out, const std::tm &time, const std::locale &loc, char format, char modifier=0) -> OutputIt |
|
FMT_BEGIN_EXPORT std::tm | localtime (std::time_t time) |
| Converts given time since epoch as std::time_t value into calendar time, expressed in local time. More...
|
|
std::tm | gmtime (std::time_t time) |
| Converts given time since epoch as std::time_t value into calendar time, expressed in Coordinated Universal Time (UTC). More...
|
|
std::tm | gmtime (std::chrono::time_point< std::chrono::system_clock > time_point) |
|
void | detail::write_digit2_separated (char *buf, unsigned a, unsigned b, unsigned c, char sep) |
|
template<typename Period > |
FMT_CONSTEXPR const char * | detail::get_units () |
|
template<typename OutputIt > |
auto | detail::write_padding (OutputIt out, pad_type pad, int width) -> OutputIt |
|
template<typename OutputIt > |
auto | detail::write_padding (OutputIt out, pad_type pad) -> OutputIt |
|
template<typename Char , typename Handler > |
FMT_CONSTEXPR const Char * | detail::parse_chrono_format (const Char *begin, const Char *end, Handler &&handler) |
|
const char * | detail::tm_wday_full_name (int wday) |
|
const char * | detail::tm_wday_short_name (int wday) |
|
const char * | detail::tm_mon_full_name (int mon) |
|
const char * | detail::tm_mon_short_name (int mon) |
|
template<typename T , typename Int , FMT_ENABLE_IF(std::is_integral< T >::value) > |
Int | detail::to_nonnegative_int (T value, Int upper) |
|
constexpr long long | detail::pow10 (std::uint32_t n) |
|
template<typename Char , typename OutputIt , typename Duration > |
void | detail::write_fractional_seconds (OutputIt &out, Duration d, int precision=-1) |
|
template<typename Duration > |
void | detail::write_floating_seconds (memory_buffer &buf, Duration duration, int num_fractional_digits=-1) |
|
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value &&has_isfinite< T >::value) > |
bool | detail::isfinite (T) |
|
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) > |
T | detail::mod (T x, int y) |
|
template<typename To , typename FromRep , typename FromPeriod > |
To | detail::fmt_safe_duration_cast (std::chrono::duration< FromRep, FromPeriod > from) |
|
template<typename Rep , typename Period , FMT_ENABLE_IF(std::is_integral< Rep >::value) > |
std::chrono::duration< Rep, std::milli > | detail::get_milliseconds (std::chrono::duration< Rep, Period > d) |
|
template<typename Char , typename Rep , typename OutputIt , FMT_ENABLE_IF(std::is_integral< Rep >::value) > |
OutputIt | detail::format_duration_value (OutputIt out, Rep val, int) |
|
template<typename Char , typename OutputIt > |
OutputIt | detail::copy_unit (string_view unit, OutputIt out, Char) |
|
template<typename OutputIt > |
OutputIt | detail::copy_unit (string_view unit, OutputIt out, wchar_t) |
|
template<typename Char , typename Period , typename OutputIt > |
OutputIt | detail::format_duration_unit (OutputIt out) |
|