DATRW++ library: seismic data I/O with multiple formats

◆ dateofshot()

libtime::TAbsoluteTime datrw::su::SUheader::dateofshot ( ) const

return date of shot

Definition at line 261 of file suheader.cc.

References datrw::su::TraceHeaderStruct::day, datrw::su::TraceHeaderStruct::hour, Mheader, datrw::su::TraceHeaderStruct::minute, datrw::su::TraceHeaderStruct::sec, and datrw::su::TraceHeaderStruct::year.

Referenced by dateoffirstsample(), main(), and srce().

262  {
263  libtime::TAbsoluteTime retval(Mheader.year, 0,
264  Mheader.day,
265  Mheader.hour,
266  Mheader.minute,
267  Mheader.sec);
268  retval.setdoy(Mheader.day);
269  return(retval);
270  } // libtime::TAbsoluteTime SUheader::dateofshot() const
short sec
second of minute
short minute
minute of hour
short year
year data recorded
short hour
hour of day (24 hour clock)
TraceHeaderStruct Mheader
the actual data fields are provided for public access
Definition: suheader.h:239
Here is the caller graph for this function: