62 TimeSpan (
int hours,
int minutes,
int seconds,
int nanoseconds = 0);
70 TimeSpan (
int days,
int hours,
int minutes,
int seconds,
int nanoseconds);
74 TimeSpan (
long long totalSeconds,
int nanoseconds);
80 long long totalSeconds()
const;
100 int milliseconds()
const;
104 int microseconds()
const;
108 int nanoseconds()
const;
133 void toString (std::string& str,
TimeSpanFormat format = TimeSpanFormats::SDHHMMSSnsec)
const;
137 std::string toString (
TimeSpanFormat format = TimeSpanFormats::SDHHMMSSnsec)
const;
140 static TimeSpan deserialize (
const std::string& str);
150 inline long long TimeSpan::totalSeconds()
const 155 inline int TimeSpan::nanoseconds()
const 164 toString (str, format);
bool operator<(const StrRef &left, const StrRef &right)
Establishes order over string refs.
static const TimeSpan Zero
Time interval of zero length.
bool operator!=(const StrRef &left, const StrRef &right)
Compares with another instance.
#define ONIXS_SGXTITAN_OUCH_NAMESPACE_END
#define ONIXS_SGXTITAN_OUCH_NAMESPACE_BEGIN
bool operator>(const StrRef &left, const StrRef &right)
Establishes order over string refs.
bool operator==(const StrRef &left, const StrRef &right)
Compares StrRef instance with another one.
TimeSpanFormats::Enum TimeSpanFormat
Time span format.