64 TimeSpan (
int hours,
int minutes,
int seconds,
int nanoseconds = 0);
72 TimeSpan (
int days,
int hours,
int minutes,
int seconds,
int nanoseconds);
76 TimeSpan (
long long totalSeconds,
int nanoseconds);
82 long long totalSeconds()
const;
102 int milliseconds()
const;
106 int microseconds()
const;
110 int nanoseconds()
const;
142 static TimeSpan deserialize (
const std::string& str);
166 toString (str, format);
#define ONIXS_ESPEED_ITCH_NAMESPACE_END
bool operator<(const StrRef &left, const StrRef &right)
Establishes order over string refs.
#define ONIXS_ESPEED_ITCH_NAMESPACE_BEGIN
static const TimeSpan Zero
Time interval of zero length.
bool operator!=(const StrRef &left, const StrRef &right)
Compares with another instance.
bool operator>(const StrRef &left, const StrRef &right)
Establishes order over string refs.
TimeSpanFormats::Enum TimeSpanFormat
Time span format.
bool operator==(const StrRef &left, const StrRef &right)
Compares StrRef instance with another one.
long long totalSeconds() const
Whole number of seconds in time interval.
void toString(std::string &str, TimeSpanFormat format=TimeSpanFormats::SDHHMMSSnsec) const