OnixS C++ CME MDP Conflated TCP Handler  1.3.6
API Documentation
Time.h File Reference

Go to the source code of this file.

Classes

struct  TimeTraits
 
struct  TimeSpanFormat
 
class  TimeSpan
 
struct  Month
 
struct  TimestampFormat
 
class  Timestamp
 

Namespaces

 OnixS
 
 OnixS::CME
 
 OnixS::CME::ConflatedTCP
 
 OnixS::CME::ConflatedTCP::Messaging
 

Functions

bool operator== (const TimeSpan &left, const TimeSpan &right) noexcept
 
bool operator!= (const TimeSpan &left, const TimeSpan &right) noexcept
 
bool operator< (const TimeSpan &left, const TimeSpan &right) noexcept
 
bool operator> (const TimeSpan &left, const TimeSpan &right) noexcept
 
TimeSpan operator- (const TimeSpan &timeSpan) noexcept
 
void toStrAsHHMMSS (std::string &, TimeSpan)
 
void toStrAsHHMMSSmsec (std::string &, TimeSpan)
 
void toStrAsHHMMSSusec (std::string &, TimeSpan)
 
void toStrAsHHMMSSnsec (std::string &, TimeSpan)
 
void toStrAsHHMMSSpsec (std::string &, TimeSpan)
 
void toStrAsSDHHMMSSnsec (std::string &, TimeSpan)
 
void toStr (std::string &, TimeSpan, TimeSpanFormat::Enum=TimeSpanFormat::SDHHMMSSnsec)
 
std::string toStr (TimeSpan timeSpan, TimeSpanFormat::Enum format=TimeSpanFormat::SDHHMMSSnsec)
 
Timestamp makeTimestamp (Timestamp::Ticks ticks) noexcept
 
bool operator== (const Timestamp &left, const Timestamp &right) noexcept
 
bool operator!= (const Timestamp &left, const Timestamp &right) noexcept
 
bool operator< (const Timestamp &left, const Timestamp &right) noexcept
 
bool operator<= (const Timestamp &left, const Timestamp &right) noexcept
 
bool operator> (const Timestamp &left, const Timestamp &right) noexcept
 
bool operator>= (const Timestamp &left, const Timestamp &right) noexcept
 
Timestamp operator+ (const Timestamp &timestamp, const TimeSpan &timeSpan) noexcept
 
Timestamp operator- (const Timestamp &timestamp, const TimeSpan &timeSpan) noexcept
 
TimeSpan operator- (const Timestamp &left, const Timestamp &right) noexcept
 
void toStrAsYYYYMMDD (std::string &, Timestamp)
 
void toStrAsYYYYMMDDHHMMSS (std::string &, Timestamp)
 
void toStrAsYYYYMMDDHHMMSSmsec (std::string &, Timestamp)
 
void toStrAsYYYYMMDDHHMMSSusec (std::string &, Timestamp)
 
void toStrAsYYYYMMDDHHMMSSnsec (std::string &, Timestamp)
 
void toStrAsYYYYMMDDHHMMSSpsec (std::string &, Timestamp)
 
void toStr (std::string &, Timestamp, TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSnsec)
 
std::string toStr (Timestamp timestamp, TimestampFormat::Enum format=TimestampFormat::YYYYMMDDHHMMSSnsec)
 
size_t toStr (Timestamp, Char *, size_t)
 
std::ostream & operator<< (std::ostream &os, const Timestamp &value)
 
std::ostream & operator<< (std::ostream &os, const TimeSpan &value)
 
bool fromStr (TimeSpan &, const Char *, size_t)
 
bool fromStr (TimeSpan &ts, const std::string &str)
 
bool fromStr (Timestamp &, const Char *, size_t, TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSnsec)
 
bool fromStr (Timestamp &ts, const std::string &str, TimestampFormat::Enum format=TimestampFormat::YYYYMMDDHHMMSSnsec)