|
Loading...
Searching...
No Matches
#include <chrono.h>
template<typename FormatContext, typename OutputIt, typename Rep, typename Period>
struct detail::chrono_formatter< FormatContext, OutputIt, Rep, Period >
Definition at line 791 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 796 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 807 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, |
|
|
char | format, |
|
|
char | modifier = 0 ) |
Definition at line 887 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::context, format(), detail::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 831 of file chrono.h.
References detail::isfinite(), detail::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 848 of file chrono.h.
References detail::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 850 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::hour(), detail::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 855 of file chrono.h.
References detail::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 926 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(), detail::standard, chrono_formatter< FormatContext, OutputIt, Rep, Period >::time(), detail::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 969 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 917 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(), detail::standard, chrono_formatter< FormatContext, OutputIt, Rep, Period >::time(), detail::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 974 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 993 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 998 of file chrono.h.
References 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 986 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 935 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(), detail::standard, chrono_formatter< FormatContext, OutputIt, Rep, Period >::time(), detail::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 944 of file chrono.h.
References chrono_formatter< FormatContext, OutputIt, Rep, Period >::format_localized(), detail::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(), detail::standard, chrono_formatter< FormatContext, OutputIt, Rep, Period >::time(), detail::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 856 of file chrono.h.
References detail::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 858 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 detail::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 873 of file chrono.h.
References detail::count_digits(), detail::isnan(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::out, detail::to_nonnegative_int(), detail::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 883 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 866 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 793 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 801 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 799 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().
|