OnixS C++ B3 Binary UMDF Market Data Handler  1.4.2
API documentation
Time.h File Reference
#include <string>
#include <algorithm>
#include <stdexcept>
#include <OnixS/B3/MarketData/UMDF/ABI.h>
#include <OnixS/B3/MarketData/UMDF/Compiler.h>
#include <OnixS/B3/MarketData/UMDF/Integral.h>

Go to the source code of this file.

Classes

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

Namespaces

 OnixS
 
 OnixS::B3
 
 OnixS::B3::MarketData
 
 OnixS::B3::MarketData::UMDF
 

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_B3_UMDF_MD_API void toStrAsHHMMSS (std::string &, TimeSpan)
 
ONIXS_B3_UMDF_MD_API void toStrAsHHMMSSmsec (std::string &, TimeSpan)
 
ONIXS_B3_UMDF_MD_API 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)
 
Timestamp fromSeconds (UInt32 secondsSinceEpoch)
 
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_B3_UMDF_MD_API void toStrAsYYYYMMDD (std::string &, Timestamp)
 
ONIXS_B3_UMDF_MD_API void toStrAsYYYYMMDDHHMMSS (std::string &, Timestamp)
 
ONIXS_B3_UMDF_MD_API void toStrAsYYYYMMDDHHMMSSmsec (std::string &, Timestamp)
 
ONIXS_B3_UMDF_MD_API void toStrAsYYYYMMDDHHMMSSnsec (std::string &, Timestamp)
 
ONIXS_B3_UMDF_MD_API void toStr (std::string &str, Timestamp timestamp, TimestampFormat::Enum format=TimestampFormat::YYYYMMDDHHMMSSnsec)
 
std::string toStr (Timestamp timestamp, TimestampFormat::Enum format=TimestampFormat::YYYYMMDDHHMMSSnsec)
 
ONIXS_B3_UMDF_MD_API bool fromStr (Timestamp &, const char *, size_t)
 
bool fromStr (Timestamp &ts, const std::string &str)