AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
Time.h
Go to the documentation of this file.
1
6#pragma once
7
9#include <ctime>
10
11namespace Aws
12{
13namespace Time
14{
15
16 /*
17 * A platform-agnostic implementation of the timegm function from gnu extensions
18 */
19 AWS_CORE_API time_t TimeGM(tm* const t);
20
21 /*
22 * Converts from a time value of std::time_t type to a C tm structure for easier date analysis
23 */
24 AWS_CORE_API void LocalTime(tm* t, std::time_t time);
25
26 /*
27 * Converts from a time value of std::time_t type to a C tm structure for easier date analysis
28 */
29 AWS_CORE_API void GMTime(tm* t, std::time_t time);
30
31} // namespace Time
32} // namespace Aws
#define AWS_CORE_API
Definition: Core_EXPORTS.h:26
AWS_CORE_API void GMTime(tm *t, std::time_t time)
AWS_CORE_API time_t TimeGM(tm *const t)
AWS_CORE_API void LocalTime(tm *t, std::time_t time)