18 int main(
int argc,
char* argv[])
27 JParser<> zap(
"Example program to show system time.");
33 catch(
const exception &error) {
34 FATAL(error.what() << endl);
37 cout <<
"current:" << endl;
46 cout <<
"user:" << endl;
int main(int argc, char *argv[])
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.
Utility class to parse command line options.
double getTime(const Hit &hit)
Get true time of hit.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
static JDateAndTime getDateAndTime
Function object to get current date and time.
const char * getDate()
Get current local date conform ISO-8601 standard.
Auxiliary data structure for sequence of same character.
Auxiliary class for date and time.
std::string toString() const
Get ASCII formatted date and time.
int getYear() const
year a.d.
int getDay() const
day of the month [1-31]
int getMonth() const
month of the year [1-12]