69 TimeSpan (
int hours,
int minutes,
int seconds,
int nanoseconds = 0);
77 TimeSpan (
int days,
int hours,
int minutes,
int seconds,
int nanoseconds);
81 TimeSpan (
long long totalSeconds,
int nanoseconds);
87 long long totalSeconds()
const;
107 int milliseconds()
const;
111 int microseconds()
const;
115 int nanoseconds()
const;
147 static TimeSpan deserialize (
const std::string& str);
171 toString (str, 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.
bool operator!=(const StrRef &left, const StrRef &right)
Compares with another instance.
ONIXS_TRADEWEB_APA_API bool operator>(const Decimal &l, const Decimal &r)
ONIXS_TRADEWEB_APA_API bool operator<(const Decimal &l, const Decimal &r)
static const TimeSpan Zero
Time interval of zero length.
TimeSpanFormats::Enum TimeSpanFormat
Time span format.
void toString(std::string &str, TimeSpanFormat format=TimeSpanFormats::SDHHMMSSnsec) const