3 #include <boost/io/ios_state.hpp> 9 boost::io::ios_flags_saver saver(os);
10 auto usec = x.
t.count() % 1000000;
11 return os <<
jb::as_hhmmss(x.
t) <<
'.' << std::setw(6) << std::setfill(
'0')
16 boost::io::ios_flags_saver saver(os);
17 auto t = x.
t.count() / 1000000;
23 return os << std::setw(2) << std::setfill(
'0') << hh << std::setw(2)
24 << std::setfill(
'0') << mm << std::setw(2) << std::setfill(
'0')
29 boost::io::ios_flags_saver saver(os);
30 auto usec = x.
t.count() % 1000000;
31 auto t = x.
t.count() / 1000000;
37 return os << std::setw(2) << std::setfill(
'0') << hh <<
":" << std::setw(2)
38 << std::setfill(
'0') << mm <<
":" << std::setw(2)
39 << std::setfill(
'0') << ss <<
"." << std::setw(6)
40 << std::setfill(
'0') << usec;
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.