Example #1
0
 // Write instance of the CTime class into the given writer.
 static void show(IWriter& writer, const CTime& a_crTime)
 { CALL
   writer << fill_0 << width(2) << a_crTime.getHour() << STR(':');
   writer << fill_0 << width(2) << a_crTime.getMinute() << STR(':');
   writer << fill_0 << width(2) << a_crTime.getSecond() << STR('-');
   writer << fill_0 << width(4) << a_crTime.getMillisecond() << ln;
 }