CMS 3D CMS Logo

Namespaces | Typedefs | Functions | Variables
TimeConversions.h File Reference
#include "CondFormats/Common/interface/Time.h"
#include <ctime>
#include <sys/time.h>
#include <string>
#include "boost/date_time/posix_time/posix_time.hpp"

Go to the source code of this file.

Namespaces

 cond
 
 cond::time
 

Typedefs

typedef boost::date_time::subsecond_duration< boost::posix_time::time_duration, 1000000000 > cond::time::nanoseconds
 

Functions

Time_t cond::time::from_boost (boost::posix_time::ptime bt)
 
Time_t cond::time::from_timeval (::timeval stv)
 
unsigned int cond::time::itsNanoseconds (boost::posix_time::time_duration const &td)
 
const Time_t cond::time::kLowMask (0xFFFFFFFF)
 
Time_t cond::time::now ()
 
cond::Time_t cond::time::pack (cond::UnpackedTime iValue)
 
boost::posix_time::ptime cond::time::to_boost (Time_t iValue)
 
inline::timeval cond::time::to_timeval (Time_t iValue)
 
cond::UnpackedTime cond::time::unpack (cond::Time_t iValue)
 

Variables

const boost::posix_time::ptime cond::time::time0 = boost::posix_time::from_time_t(0)