36 std::ostringstream
os;
39 const unsigned long ss =
40 std::chrono::duration_cast<std::chrono::seconds>(value_).
count();
43 const auto dd = (ss / 86400);
46 const int hh = ((ss / 3600) % 24);
48 if (dd)
os << dd <<
'-';
58 << ((ss / 60) % 60) <<
':';
67 std::chrono::duration_cast<std::chrono::milliseconds>(value_).
count()
std::string str() const
Format as day-hh:mm:ss string.
Omanip< char > setfill(char fillch)
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of 'true' entries.
OBJstream os(runTime.globalPath()/outputName)
Omanip< int > setw(const int i)