Definition at line 357 of file sffxx.cc.
References sff::coosysID(), cs, cx, cy, cz, date, LINEID, and type.
Referenced by test_line_functions(), and sff::FileHeader::write().
360 int yeardigits, century;
361 century=int(
date.year()/100);
362 yeardigits=
date.year()-100*century;
363 sprintf(charline,
"%-4s %-20s %1c %15.6f%15.6f%15.6f " 364 "%2.2i%2.2i%2.2i %2.2i%2.2i%2.2i.%3.3i\n",
366 type.substr(0,20).c_str(),
368 yeardigits,
static_cast<int>(
date.month()), static_cast<int>(
date.day()),
369 static_cast<int>(
date.hour()), static_cast<int>(
date.minute()),
370 static_cast<int>(
date.second()), static_cast<int>(
date.milsec()));
371 std::string retval(charline);
char coosysID(const Ecoosys &csid)
static const char *const LINEID
libtime::TAbsoluteTime date
time of source