CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TimeStamp.h
Go to the documentation of this file.
1 #ifndef __HLX_TIMESTAMP_H__
2 #define __HLX_TIMESTAMP_H__
3 
4 #include <string>
5 #include <ctime>
6 
7 namespace HCAL_HLX {
8 
9  class TimeStamp {
10  public:
11  std::string TimeStampLong(time_t rawtime = 0);
12  std::string TimeStampYYYYMM(time_t rawtime = 0);
13  std::string TimeStampYYYYMMDD(time_t rawtime = 0);
14  };
15 } // namespace HCAL_HLX
16 
17 #endif
std::string TimeStampYYYYMM(time_t rawtime=0)
Definition: TimeStamp.cc:13
std::string TimeStampLong(time_t rawtime=0)
Definition: TimeStamp.cc:6
std::string TimeStampYYYYMMDD(time_t rawtime=0)
Definition: TimeStamp.cc:18