Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
4a8898cd
Commit
4a8898cd
authored
Dec 11, 2018
by
Brad King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmTimestamp: Expose CreateTimestampFromTimeT publicly
parent
03d40110
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Source/cmTimestamp.h
Source/cmTimestamp.h
+3
-3
No files found.
Source/cmTimestamp.h
View file @
4a8898cd
...
@@ -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
;
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment