From 4a8898cd6d4ab86d04f64a699a2dc95d35846744 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 11 Dec 2018 08:10:01 -0500 Subject: cmTimestamp: Expose CreateTimestampFromTimeT publicly --- Source/cmTimestamp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/cmTimestamp.h b/Source/cmTimestamp.h index 8dd499a..2f75acb 100644 --- a/Source/cmTimestamp.h +++ b/Source/cmTimestamp.h @@ -23,12 +23,12 @@ public: const std::string& formatString, bool utcFlag); -private: - time_t CreateUtcTimeTFromTm(struct tm& timeStruct) const; - std::string CreateTimestampFromTimeT(time_t timeT, std::string formatString, bool utcFlag) const; +private: + time_t CreateUtcTimeTFromTm(struct tm& timeStruct) const; + std::string AddTimestampComponent(char flag, struct tm& timeStruct, time_t timeT) const; }; -- cgit v0.12