| 92 | } |
| 93 | |
| 94 | void WriteTmToStream(IOutputStream& os, const struct tm& theTm) { |
| 95 | os << Pad<4>(theTm.tm_year + 1900) << '-' << Pad<2>(theTm.tm_mon + 1) << '-' << Pad<2>(theTm.tm_mday) << 'T' |
| 96 | << Pad<2>(theTm.tm_hour) << ':' << Pad<2>(theTm.tm_min) << ':' << Pad<2>(theTm.tm_sec); |
| 97 | } |
| 98 | |
| 99 | template <bool PrintUpToSeconds, bool iso> |
| 100 | void WritePrintableLocalTimeToStream(IOutputStream& os, const ::NPrivate::TPrintableLocalTime<PrintUpToSeconds, iso>& timeToPrint) { |
no outgoing calls
no test coverage detected