1 #ifndef jb_as_hhmmss_hpp 2 #define jb_as_hhmmss_hpp 21 template <
typename time_duration_t>
23 :
t(
std::chrono::duration_cast<
std::chrono::microseconds>(x)) {
26 std::chrono::microseconds
t;
44 template <
typename time_duration_t>
46 :
t(
std::chrono::duration_cast<
std::chrono::microseconds>(x)) {
49 std::chrono::microseconds
t;
67 template <
typename time_duration_t>
69 :
t(
std::chrono::duration_cast<
std::chrono::microseconds>(x)) {
72 std::chrono::microseconds
t;
80 #endif // jb_as_hhmmss_hpp as_hh_mm_ss_u(time_duration_t const &x)
Constructor.
as_hhmmssu(time_duration_t const &x)
Constructor.
std::chrono::microseconds t
std::chrono::microseconds t
std::ostream & operator<<(std::ostream &os, as_hhmmssu const &x)
Format as_hhmmssu into an iostream.
std::chrono::microseconds t
Helper class to print time durations s in HHMMSS format.
Helper class to print time durations in a HHMMSS.UUUUUU format.
Helper class to print time durations in HH:MM:SS.UUUUUU format.
as_hhmmss(time_duration_t const &x)
Constructor.
The top-level namespace for the JayBeams library.