|
Loading...
Searching...
No Matches
#include <chrono.h>
template<typename FormatContext, typename OutputIt, typename Rep, typename Period>
struct internal::chrono_formatter< FormatContext, OutputIt, Rep, Period >
Definition at line 778 of file chrono.h.
◆ char_type
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
using char_type = typename FormatContext::char_type |
◆ milliseconds
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ rep
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Initial value:
typename std::conditional< B, T, F >::type conditional_t
Definition at line 783 of file chrono.h.
◆ seconds
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ chrono_formatter()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
chrono_formatter |
( |
FormatContext & | ctx, |
|
|
OutputIt | o, |
|
|
std::chrono::duration< Rep, Period > | d ) |
|
explicit |
Definition at line 794 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::negative, chrono_formatter< FormatContext, OutputIt, Rep, Period >::s, and chrono_formatter< FormatContext, OutputIt, Rep, Period >::val.
◆ format_localized()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
void format_localized |
( |
const tm & | time, |
|
|
const char * | format ) |
Definition at line 874 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::context, format(), internal::isnan(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::out, chrono_formatter< FormatContext, OutputIt, Rep, Period >::time(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::val, and chrono_formatter< FormatContext, OutputIt, Rep, Period >::write_nan().
Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_12_hour(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_12_hour_time(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_24_hour(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_am_pm(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_minute(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_second().
◆ handle_nan_inf()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 818 of file chrono.h.
References internal::isfinite(), internal::isnan(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::val, chrono_formatter< FormatContext, OutputIt, Rep, Period >::write_nan(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::write_ninf(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::write_pinf().
Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_12_hour(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_12_hour_time(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_24_hour(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_24_hour_time(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_am_pm(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_duration_value(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_iso_time(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_minute(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_second().
◆ hour()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 835 of file chrono.h.
References internal::mod(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::s.
Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::hour12(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_24_hour(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_24_hour_time(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::time().
◆ hour12()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 837 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::hour(), internal::mod(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::s.
Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_12_hour().
◆ minute()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 842 of file chrono.h.
References internal::mod(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::s.
Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_24_hour_time(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_minute(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::time().
◆ on_12_hour()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 913 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::format_localized(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::handle_nan_inf(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::hour12(), internal::standard, chrono_formatter< FormatContext, OutputIt, Rep, Period >::time(), internal::to_nonnegative_int(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::write().
◆ on_12_hour_time()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 956 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::format_localized(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::handle_nan_inf(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::time().
◆ on_24_hour()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 904 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::format_localized(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::handle_nan_inf(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::hour(), internal::standard, chrono_formatter< FormatContext, OutputIt, Rep, Period >::time(), internal::to_nonnegative_int(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::write().
◆ on_24_hour_time()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 962 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::handle_nan_inf(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::hour(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::minute(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::out, and chrono_formatter< FormatContext, OutputIt, Rep, Period >::write().
Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_iso_time().
◆ on_abbr_month()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ on_abbr_weekday()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ on_am_pm()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 981 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::format_localized(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::handle_nan_inf(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::time().
◆ on_datetime()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ on_dec0_weekday()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ on_dec1_weekday()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ on_duration_unit()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
void on_duration_unit |
( |
| ) |
|
◆ on_duration_value()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
void on_duration_value |
( |
| ) |
|
Definition at line 986 of file chrono.h.
References internal::format_chrono_duration_value(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::handle_nan_inf(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::out, chrono_formatter< FormatContext, OutputIt, Rep, Period >::precision, chrono_formatter< FormatContext, OutputIt, Rep, Period >::val, and chrono_formatter< FormatContext, OutputIt, Rep, Period >::write_sign().
◆ on_full_month()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ on_full_weekday()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ on_iso_date()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ on_iso_time()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 974 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::handle_nan_inf(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_24_hour_time(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::out, chrono_formatter< FormatContext, OutputIt, Rep, Period >::second(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::write().
◆ on_loc_date()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ on_loc_time()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ on_minute()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 922 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::format_localized(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::handle_nan_inf(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::minute(), internal::standard, chrono_formatter< FormatContext, OutputIt, Rep, Period >::time(), internal::to_nonnegative_int(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::write().
◆ on_second()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 931 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::format_localized(), internal::get_milliseconds(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::handle_nan_inf(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::out, chrono_formatter< FormatContext, OutputIt, Rep, Period >::second(), internal::standard, chrono_formatter< FormatContext, OutputIt, Rep, Period >::time(), internal::to_nonnegative_int(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::val, and chrono_formatter< FormatContext, OutputIt, Rep, Period >::write().
◆ on_text()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ on_tz_name()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ on_us_date()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ on_utc_offset()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ second()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 843 of file chrono.h.
References internal::mod(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::s.
Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_iso_time(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_second(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::time().
◆ time()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 845 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::hour(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::minute(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::second(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::time(), and internal::to_nonnegative_int().
Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::format_localized(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_12_hour(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_12_hour_time(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_24_hour(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_am_pm(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_minute(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_second(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::time().
◆ write()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
void write |
( |
Rep | value, |
|
|
int | width ) |
Definition at line 860 of file chrono.h.
References internal::count_digits(), internal::isnan(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::out, internal::to_nonnegative_int(), internal::to_unsigned(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::write_nan(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::write_sign().
Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_12_hour(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_24_hour(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_24_hour_time(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_iso_time(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_minute(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_second().
◆ write_nan()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 870 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::out.
Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::format_localized(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::handle_nan_inf(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::write().
◆ write_ninf()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ write_pinf()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ write_sign()
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 853 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::negative, and chrono_formatter< FormatContext, OutputIt, Rep, Period >::out.
Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_duration_value(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::write().
◆ context
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ negative
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
◆ out
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 780 of file chrono.h.
Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::format_localized(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_24_hour_time(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_duration_unit(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_duration_value(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_iso_time(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_second(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_text(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::write(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::write_nan(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::write_ninf(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::write_pinf(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::write_sign().
◆ precision
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 788 of file chrono.h.
Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::chrono_formatter(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::hour(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::hour12(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::minute(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::second().
◆ val
template<typename FormatContext , typename OutputIt , typename Rep , typename Period >
Definition at line 786 of file chrono.h.
Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::chrono_formatter(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::format_localized(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::handle_nan_inf(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_duration_value(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_second().
|