OnixS C++ CME MDP Streamlined Market Data Handler  1.2.0
API Documentation
Time.h File Reference
#include <algorithm>
#include <stdexcept>
#include <OnixS/CME/Streamlined/String.h>
#include <OnixS/CME/Streamlined/Integral.h>

Go to the source code of this file.

Classes

struct  TimeTraits
 
class  TimeSpan
 
struct  TimeSpanFormat
 
struct  Month
 
class  Timestamp
 
struct  TimestampFormat
 
struct  WatchService
 
class  LocalWatch
 
class  UtcWatch
 

Namespaces

 OnixS
 
 OnixS::CME
 
 OnixS::CME::Streamlined
 
 OnixS::CME::Streamlined::MDH
 

Functions

bool operator== (const TimeSpan &left, const TimeSpan &right)
 
bool operator!= (const TimeSpan &left, const TimeSpan &right)
 
bool operator< (const TimeSpan &left, const TimeSpan &right)
 
bool operator> (const TimeSpan &left, const TimeSpan &right)
 
void toStrAsHHMMSS (std::string &, TimeSpan)
 
void toStrAsHHMMSSmsec (std::string &, TimeSpan)
 
void toStrAsSDHHMMSSnsec (std::string &, TimeSpan)
 
void toStr (std::string &str, TimeSpan timeSpan, TimeSpanFormat::Enum format=TimeSpanFormat::SDHHMMSSnsec)
 
std::string toStr (TimeSpan timeSpan, TimeSpanFormat::Enum format=TimeSpanFormat::SDHHMMSSnsec)
 
bool operator== (const Timestamp &left, const Timestamp &right)
 
bool operator!= (const Timestamp &left, const Timestamp &right)
 
template<UInt64 Value>
bool operator!= (const Timestamp &left, const IntegralConstant< UInt64, Value > &right)
 
template<UInt64 Value>
bool operator!= (const IntegralConstant< UInt64, Value > &left, const Timestamp &right)
 
bool operator< (const Timestamp &left, const Timestamp &right)
 
bool operator> (const Timestamp &left, const Timestamp &right)
 
Timestamp operator+ (const Timestamp &timestamp, const TimeSpan &timeSpan)
 
Timestamp operator- (const Timestamp &timestamp, const TimeSpan &timeSpan)
 
TimeSpan operator- (const Timestamp &left, const Timestamp &right)
 
void toStrAsYYYYMMDD (std::string &, Timestamp)
 
void toStrAsYYYYMMDDHHMMSS (std::string &, Timestamp)
 
void toStrAsYYYYMMDDHHMMSSmsec (std::string &, Timestamp)
 
void toStrAsYYYYMMDDHHMMSSnsec (std::string &, Timestamp)
 
void toStr (std::string &str, Timestamp timestamp, TimestampFormat::Enum format=TimestampFormat::YYYYMMDDHHMMSSnsec)
 
std::string toStr (Timestamp timestamp, TimestampFormat::Enum format=TimestampFormat::YYYYMMDDHHMMSSnsec)
 
bool fromStr (Timestamp &, const Char *, size_t)