template <typename Char, typename Rep, typename Period>

struct duration_formatter

Defined at line 1698 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

Public Members

iterator out
rep val
int precision
locale_ref locale
bool localized
seconds s
bool negative

Public Methods

void duration_formatter<Char, Rep, Period> (iterator o, std::chrono::duration<Rep, Period> d, locale_ref loc)

Defined at line 1716 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

bool handle_nan_inf ()

returns true if nan or inf, writes to out.

Defined at line 1731 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

Rep days ()

Defined at line 1745 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

Rep hour ()

Defined at line 1746 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

Rep hour12 ()

Defined at line 1750 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

Rep minute ()

Defined at line 1755 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

Rep second ()

Defined at line 1758 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

std::tm time ()

Defined at line 1760 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void write_sign ()

Defined at line 1768 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void write (Rep value, int width, pad_type pad)

Defined at line 1774 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void write_nan ()

Defined at line 1786 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

template <typename Callback, typename... Args>
void format_tm (const tm & time, Callback cb, Args... args)

Defined at line 1789 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_text (const Char * begin, const Char * end)

Defined at line 1797 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_abbr_weekday ()

These are not implemented because durations don't have date information.

Defined at line 1802 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_full_weekday ()

Defined at line 1803 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_dec0_weekday (numeric_system )

Defined at line 1804 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_dec1_weekday (numeric_system )

Defined at line 1805 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_abbr_month ()

Defined at line 1806 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_full_month ()

Defined at line 1807 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_datetime (numeric_system )

Defined at line 1808 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_loc_date (numeric_system )

Defined at line 1809 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_loc_time (numeric_system )

Defined at line 1810 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_us_date ()

Defined at line 1811 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_iso_date ()

Defined at line 1812 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_utc_offset (numeric_system )

Defined at line 1813 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_tz_name ()

Defined at line 1814 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_year (numeric_system , pad_type )

Defined at line 1815 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_short_year (numeric_system )

Defined at line 1816 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_offset_year ()

Defined at line 1817 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_century (numeric_system )

Defined at line 1818 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_iso_week_based_year ()

Defined at line 1819 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_iso_week_based_short_year ()

Defined at line 1820 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_dec_month (numeric_system , pad_type )

Defined at line 1821 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_dec0_week_of_year (numeric_system , pad_type )

Defined at line 1822 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_dec1_week_of_year (numeric_system , pad_type )

Defined at line 1823 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_iso_week_of_year (numeric_system , pad_type )

Defined at line 1824 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_day_of_month (numeric_system , pad_type )

Defined at line 1825 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_day_of_year (pad_type )

Defined at line 1827 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_24_hour (numeric_system ns, pad_type pad)

Defined at line 1832 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_12_hour (numeric_system ns, pad_type pad)

Defined at line 1841 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_minute (numeric_system ns, pad_type pad)

Defined at line 1850 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_second (numeric_system ns, pad_type pad)

Defined at line 1859 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_12_hour_time ()

Defined at line 1883 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_24_hour_time ()

Defined at line 1888 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_iso_time ()

Defined at line 1900 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_am_pm ()

Defined at line 1907 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_duration_value ()

Defined at line 1912 of file ../../third_party/fmtlib/src/include/fmt/chrono.h

void on_duration_unit ()

Defined at line 1918 of file ../../third_party/fmtlib/src/include/fmt/chrono.h