22 #include "OnixS/CME/DropCopy/Export.h" 27 namespace OnixS {
namespace CME {
namespace DropCopy {
100 Int64 totalSeconds()
const;
103 Int64 totalSubseconds(Subsecond subsecondType)
const;
115 Int32 minutes()
const;
119 Int32 seconds()
const;
123 Int32 milliseconds()
const;
127 Int32 microseconds()
const;
131 Int32 nanoseconds()
const;
140 bool operator<(
const TimeSpan& other)
const;
143 bool operator>(
const TimeSpan& other)
const;
163 static TimeSpan deserialize(
const std::string& str);
186 toString(str, format);
214 static Enum deserialize(
const char*);
217 static const char* toString(
Enum);
240 static Enum deserialize(
const char*);
243 static const char* toString(
Enum);
265 static Enum deserialize(
const char*);
268 static const char* toString(
Enum);
359 bool operator<(
const YearMonth& other)
const;
365 bool operator>(
const YearMonth& other)
const;
371 std::string toString()
const;
374 void toString(std::string&)
const;
487 UInt32 millisecond()
const;
490 UInt32 microsecond()
const;
493 UInt32 nanosecond()
const;
502 DayOfWeek dayOfWeek()
const;
511 bool operator<(
const Timestamp& other)
const;
514 bool operator>(
const Timestamp& other)
const;
556 static Timestamp fromUnixTimestamp(
UInt64 sinceEpoch, SinceEpochUnit unit);
561 UInt64 toUnixTimestamp(SinceEpochUnit unit)
const;
567 friend ONIXS_CME_DROP_COPY_EXPORT
TimeSpan 582 toString(str, format);
std::string toString() const
Serializes into text (YYYYMM/YYYYMMDD/YYYYMMWW) presentation.
Provides efficient way of accessing text-based FIX field values.
Int64 totalSeconds() const
Whole number of seconds in time interval.
SinceEpochUnits::Enum SinceEpochUnit
Since epoch units format.
Identifies day within week.
Int32 nanoseconds() const
static const TimeSpan Zero
Time interval of zero length.
bool operator==(const FieldValueRef &ref, const std::string &str)
bool operator!=(const FieldValueRef &ref, const std::string &str)
Since epoch time units supported.
WeekCodes::Enum WeekCode
Identifies week number within month.
unsigned long long UInt64
DaysOfWeek::Enum DayOfWeek
Identifies days in week.
TimeSpanFormats::Enum TimeSpanFormat
Time span format.
TimeSpan operator-(const Timestamp &left, const Timestamp &right)
Calculates time interval between two timestamps.
Subseconds::Enum Subsecond
Time span format.
std::string toString(TimestampFormat format=TimestampFormats::YYYYMMDDHHMMSSnsec) const
Identifies months in year.
Identifies week number within month.
Represents timestamp without time-zone information.
void toString(std::string &str, TimeSpanFormat format=TimeSpanFormats::SDHHMMSSnsec) const
TimestampFormats::Enum TimestampFormat
Timestamp format.
Subseconds formats supported.
Months::Enum Month
Identifies months in year.