00001
00002
00003
00004
00005
00006
00007
00008 #ifndef BOOSTER_CTIME_H
00009 #define BOOSTER_CTIME_H
00010
00011 #include <booster/config.h>
00012 #include <ctime>
00013 #include <time.h>
00014
00015 namespace booster {
00019 BOOSTER_API std::tm local_time(time_t pt);
00023 BOOSTER_API std::tm universal_time(time_t pt);
00024
00028 BOOSTER_API time_t normalize_local_time(std::tm &t);
00033 BOOSTER_API time_t normalize_universal_time(std::tm &t);
00034
00039 BOOSTER_API time_t make_local_time(std::tm const &t);
00044 BOOSTER_API time_t make_universal_time(std::tm const &t);
00045 }
00046
00047 #endif
00048