Commit 4a8898cd authored by Brad King's avatar Brad King

cmTimestamp: Expose CreateTimestampFromTimeT publicly

parent 03d40110
...@@ -23,12 +23,12 @@ public: ...@@ -23,12 +23,12 @@ public:
const std::string& formatString, const std::string& formatString,
bool utcFlag); bool utcFlag);
private:
time_t CreateUtcTimeTFromTm(struct tm& timeStruct) const;
std::string CreateTimestampFromTimeT(time_t timeT, std::string formatString, std::string CreateTimestampFromTimeT(time_t timeT, std::string formatString,
bool utcFlag) const; bool utcFlag) const;
private:
time_t CreateUtcTimeTFromTm(struct tm& timeStruct) const;
std::string AddTimestampComponent(char flag, struct tm& timeStruct, std::string AddTimestampComponent(char flag, struct tm& timeStruct,
time_t timeT) const; time_t timeT) const;
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment