CppCMS

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

ctime.h
1 //
2 // Copyright (C) 2009-2012 Artyom Beilis (Tonkikh)
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See
5 // accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
7 //
8 #ifndef BOOSTER_CTIME_H
9 #define BOOSTER_CTIME_H
10
11 #include <booster/config.h>
12 #include <ctime>
13 #include <time.h>
14
15 namespace booster {
19 BOOSTER_API std::tm local_time(time_t pt);
23 BOOSTER_API std::tm universal_time(time_t pt);
24
28 BOOSTER_API time_t normalize_local_time(std::tm &t);
33 BOOSTER_API time_t normalize_universal_time(std::tm &t);
34
39 BOOSTER_API time_t make_local_time(std::tm const &t);
44 BOOSTER_API time_t make_universal_time(std::tm const &t);
45 }
46
47 #endif
48
booster::universal_time
BOOSTER_API std::tm universal_time(time_t pt)
booster::make_universal_time
BOOSTER_API time_t make_universal_time(std::tm const &t)
booster::normalize_local_time
BOOSTER_API time_t normalize_local_time(std::tm &t)
booster::make_local_time
BOOSTER_API time_t make_local_time(std::tm const &t)
booster::normalize_universal_time
BOOSTER_API time_t normalize_universal_time(std::tm &t)
booster
Booster library namespace. The library that implements Boost Like API in ABI backward compatible way...
Definition: application.h:23
booster::local_time
BOOSTER_API std::tm local_time(time_t pt)