Changeset 10252 for trunk/FACT++/src/Time.h
- Timestamp:
- 03/23/11 10:47:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Time.h
r10183 r10252 36 36 static const _time_format fmt(const char *txt=0); 37 37 38 static const _time_format reset; /// Remove the format description from the stream 39 static const _time_format def; /// set to format to the locale default 40 static const _time_format std; /// set to format to the iso standard 41 static const _time_format sql; /// set to format to the sql format 42 static const _time_format iso; /// set to format to the extended iso standard 43 static const _time_format magic; /// set to format to the MAGIC report format 38 static const _time_format reset; /// Remove the format description from the stream 39 static const _time_format def; /// set to format to the locale default 40 static const _time_format std; /// set to format to the iso standard 41 static const _time_format sql; /// set to format to the sql format 42 static const _time_format ssql; /// set to format to the sql format (without the fraction of seconds) 43 static const _time_format iso; /// set to format to the extended iso standard 44 static const _time_format magic; /// set to format to the MAGIC report format 45 static const _time_format smagic; /// set to format to the MAGIC report format (without the fraction of seconds) 44 46 45 47 /// Enum used in the instantisation of the class to change the inititalisation value … … 65 67 66 68 // Convesion from and to a string 67 std::string GetAsStr(const char *fmt="%Y-%m-%d %H:%M:%S .%f") const;68 void SetFromStr(const std::string &str, const char *fmt="%Y-%m-%d %H:%M:%S .%f");69 std::string GetAsStr(const char *fmt="%Y-%m-%d %H:%M:%S") const; 70 void SetFromStr(const std::string &str, const char *fmt="%Y-%m-%d %H:%M:%S"); 69 71 70 72 // Conversion to and from MJD
Note:
See TracChangeset
for help on using the changeset viewer.