OnixS C++ CME MDP Conflated UDP Handler  1.1.2
API documentation
Time.h File Reference
#include <algorithm>
#include <stdexcept>
#include <OnixS/CME/ConflatedUDP/String.h>
#include <OnixS/CME/ConflatedUDP/Integral.h>

Go to the source code of this file.

Classes

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

Namespaces

 OnixS
 
 OnixS::CME
 
 OnixS::CME::ConflatedUDP
 

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)
 
ONIXS_CONFLATEDUDP_EXPORTED void toStrAsHHMMSS (std::string &, TimeSpan)
 
ONIXS_CONFLATEDUDP_EXPORTED void toStrAsHHMMSSmsec (std::string &, TimeSpan)
 
ONIXS_CONFLATEDUDP_EXPORTED 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)
 
bool operator< (const Timestamp &left, const Timestamp &right)
 
bool operator<= (const Timestamp &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)
 
ONIXS_CONFLATEDUDP_EXPORTED void toStrAsYYYYMMDD (std::string &, Timestamp)
 
ONIXS_CONFLATEDUDP_EXPORTED void toStrAsYYYYMMDDHHMMSS (std::string &, Timestamp)
 
ONIXS_CONFLATEDUDP_EXPORTED void toStrAsYYYYMMDDHHMMSSmsec (std::string &, Timestamp)
 
ONIXS_CONFLATEDUDP_EXPORTED 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)
 
ONIXS_CONFLATEDUDP_EXPORTED bool fromStr (Timestamp &, const Char *, size_t)
 
bool fromStr (Timestamp &ts, const std::string &str)