FACT++  1.0
std::ostream& operator<< ( std::ostream &  out,
const _time_format f 
)
friend

Sets the locale discription of the stream (the way how a time is output) to the format defined by the given manipulator.

Example:

Time t();
cout << Time::fmt("%Y:%m:%d %H:%M:%S.%f") << t << endl;
Parameters
outReference to the stream
fTime format described by a manipulator
Returns
A reference to the stream

Definition at line 440 of file Time.cc.

Referenced by Time::JavaDate().

441 {
442  const locale loc(locale::classic(),
443  f.ptr==0 ? 0 : new time_facet(f.ptr));
444 
445  out.imbue(loc);
446 
447  return out;
448 }
const char * ptr
Definition: Time.h:22