15 boost::gregorian::date d = t.date();
18 <<
"-" << std::setw(2) << std::setfill(
'0') << d.month().as_number()
19 <<
"-" << std::setw(2) << std::setfill(
'0') << d.day()
27 s << std::setw(2) << std::setfill(
'0') << dur.hours()
28 <<
":" << std::setw(2) << std::setfill(
'0') << dur.minutes()
29 <<
":" << std::setw(2) << std::setfill(
'0') << dur.seconds();
33 if (fsecs_precision) {
34 size_t fsecs = dur.fractional_seconds();
36 if (fsecs_precision < width) {
37 for (
size_t i = 0; i < width - fsecs_precision; ++i) {
41 width = fsecs_precision;
44 s <<
"." << std::setw(width)