• Main Page
  • Classes
  • Files
  • File List

Swiften/Base/DateTime.h

00001 /*
00002  * Copyright (c) 2011 Remko Tronçon
00003  * Licensed under the GNU General Public License v3.
00004  * See Documentation/Licenses/GPLv3.txt for more information.
00005  */
00006 
00007 #pragma once
00008 
00009 #include <Swiften/Base/API.h>
00010 #include <boost/date_time/posix_time/ptime.hpp>
00011 
00012 namespace Swift {
00017   SWIFTEN_API boost::posix_time::ptime stringToDateTime(const std::string& string);
00018 
00022   SWIFTEN_API std::string dateTimeToString(const boost::posix_time::ptime& time);
00023 }

Generated on Fri Oct 12 2012 21:00:19 for Swiften by  doxygen 1.7.1