• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

booster/ctime.h

00001 //
00002 //  Copyright (C) 2009-2012 Artyom Beilis (Tonkikh)
00003 //
00004 //  Distributed under the Boost Software License, Version 1.0. (See
00005 //  accompanying file LICENSE_1_0.txt or copy at
00006 //  http://www.boost.org/LICENSE_1_0.txt)
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 

Generated on Wed Jan 18 2012 07:25:23 for CppCMS by  doxygen 1.7.1