Go to the documentation of this file.
17 int main(
int argc,
char* argv[])
24 JParser<> zap(
"Example program to show system time.");
28 catch(
const exception &error) {
29 FATAL(error.what() << endl);
39 cout << cal.
getYear() <<
'/' <<
FILL(2,
'0') << cal.getMonth() <<
'/' <<
FILL(2,
'0') << cal.getDay() << endl;
int main(int argc, char *argv[])
static JDateAndTime getDateAndTime
Function object to get ASCII formatted date and time.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for sequence of same character.
int getYear() const
year a.d.
double getTime(const Hit &hit)
Get true time of hit.
const char * getDate()
Get ASCII formatted date.