8 #include "TTimeStamp.h"
24 int main(
int argc,
char **argv)
35 JParser<> zap(
"Auxiliary program to print UTC start and stop time of data taking run.");
38 zap[
'O'] =
make_field(option,
"print UNIX time as TTimeStamp::AsString(<option>)") =
"";
43 catch(
const exception &error) {
44 FATAL(error.what() << endl);
54 cout << TTimeStamp((time_t) UTC.
getLowerLimit().getUTCseconds()).AsString(option.c_str()) <<
' '
55 << TTimeStamp((time_t) UTC.
getUpperLimit().getUTCseconds()).AsString(option.c_str()) << endl;
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
ROOT TTree parameter settings of various packages.
Utility class to parse command line options.
int main(int argc, char **argv)
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
JDAQUTCTimeRange getUTCTimeRange()
Get UTC time range.
Auxiliary data structure for floating point format specification.