libtime++: Date and time calculation

◆ dump()

void libtime::dump ( std::ostream &  os,
const TBaseClassTime t 
)

dump internal representation of time (for debugging purposes)

Definition at line 26 of file dump.cc.

References libtime::TBaseClassTime::timestring().

27  {
28  time_kernel::time_Ts mytime_Ts(t);
29  os << " ** dump internals of " << t.timestring() << std::endl;
30  os << " ** year " << mytime_Ts.year << std::endl;
31  os << " ** doy " << mytime_Ts.doy << std::endl;
32  os << " ** hour " << mytime_Ts.hour << std::endl;
33  os << " ** minute " << mytime_Ts.minute << std::endl;
34  os << " ** second " << mytime_Ts.second << std::endl;
35  os << " ** milli second " << mytime_Ts.milsec << std::endl;
36  os << " ** micro second " << mytime_Ts.micsec << std::endl;
37  }
Here is the call graph for this function: