/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/eformat/eformat-00-00-04/eformat/DateAndTime.h

Go to the documentation of this file.
00001 //Dear emacs, this is -*- c++ -*-
00002 
00013 #ifndef EFORMAT_HELPER_DATEANDTIME_H
00014 #define EFORMAT_HELPER_DATEANDTIME_H
00015 
00016 #include <stdint.h>
00017 #include <string>
00018 
00019 namespace eformat {
00020 
00021   namespace helper {
00022 
00026     class DateAndTime {
00027 
00028     public: //interface
00029 
00033       DateAndTime ();
00034 
00040       DateAndTime (uint32_t val);
00041 
00045       inline uint32_t code (void) const { return m_val; } 
00046 
00050       std::string iso8601 (void) const;
00051 
00055       std::string human (void) const;
00056 
00057     private: //implementation 
00058 
00059       uint32_t m_val; 
00060 
00061     };
00062 
00063   }
00064 
00065 }
00066 
00067 #endif /* EFORMAT_HELPER_DATEANDTIME_H */

Generated on Tue Nov 29 22:58:24 2016 for BOSS_7.0.2 by  doxygen 1.4.7