AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Time.h
1
6#pragma once
7
8#include <aws/core/Core_EXPORTS.h>
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
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)