summaryrefslogtreecommitdiffstats
path: root/Source/cmTimestamp.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-12-11 13:10:01 (GMT)
committerBrad King <brad.king@kitware.com>2018-12-11 17:50:21 (GMT)
commit4a8898cd6d4ab86d04f64a699a2dc95d35846744 (patch)
tree03afbcb19a87f7a0404ee0823092526ff67ab166 /Source/cmTimestamp.h
parent03d40110dc791a803345150806ef3a13ba3a0957 (diff)
downloadCMake-4a8898cd6d4ab86d04f64a699a2dc95d35846744.zip
CMake-4a8898cd6d4ab86d04f64a699a2dc95d35846744.tar.gz
CMake-4a8898cd6d4ab86d04f64a699a2dc95d35846744.tar.bz2
cmTimestamp: Expose CreateTimestampFromTimeT publicly
Diffstat (limited to 'Source/cmTimestamp.h')
-rw-r--r--Source/cmTimestamp.h6
1 files 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;
};