PageRenderTime 15ms CodeModel.GetById 1ms RepoModel.GetById 1ms app.codeStats 0ms

/mordor/date_time.h

http://github.com/mozy/mordor
C Header | 11 lines | 7 code | 3 blank | 1 comment | 0 complexity | a809d2f9275a125a60d6708424ce198d MD5 | raw file
Possible License(s): BSD-3-Clause
  1. #ifndef __MORDOR_DATE_TIME_H__
  2. #define __MORDOR_DATE_TIME_H__
  3. // Copyright (c) 2009 - Mozy, Inc.
  4. #include <boost/date_time/posix_time/posix_time.hpp>
  5. namespace Mordor {
  6. time_t toTimeT(const boost::posix_time::ptime &ptime);
  7. };
  8. #endif