21 #include "OnixS/CME/DropCopy/Export.h" 26 namespace OnixS {
namespace CME {
namespace DropCopy {
85 Int32 nanoseconds = 0);
110 Int64 totalSeconds()
const;
113 Int64 totalSubseconds(Subsecond subsecondType)
const;
125 Int32 minutes()
const;
129 Int32 seconds()
const;
133 Int32 milliseconds()
const;
137 Int32 microseconds()
const;
141 Int32 nanoseconds()
const;
150 bool operator <(
const TimeSpan& other)
const;
153 bool operator >(
const TimeSpan& other)
const;
173 static TimeSpan deserialize(
const std::string& str);
196 toString(str, format);
224 static Enum deserialize(
const char*);
227 static const char* toString(
Enum);
250 static Enum deserialize(
const char*);
253 static const char* toString(
Enum);
275 static Enum deserialize(
const char*);
278 static const char* toString(
Enum);
377 bool operator <(
const YearMonth& other)
const;
383 bool operator >(
const YearMonth& other)
const;
389 std::string toString()
const;
392 void toString(std::string&)
const;
507 UInt32 millisecond()
const;
510 UInt32 microsecond()
const;
513 UInt32 nanosecond()
const;
522 DayOfWeek dayOfWeek()
const;
531 bool operator <(
const Timestamp& other)
const;
534 bool operator >(
const Timestamp& other)
const;
575 static Timestamp fromUnixTimestamp(
UInt64 sinceEpoch, SinceEpochUnit unit);
580 UInt64 toUnixTimestamp(SinceEpochUnit unit)
const;
600 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.