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);
TimeSpanFormats::Enum TimeSpanFormat
Time span format.
bool operator==(const FieldValueRef &ref, const std::string &str)
long long totalSeconds() const
Whole number of seconds in time interval.
bool operator<(const Decimal &l, const Decimal &r)
static const TimeSpan Zero
Time interval of zero length.
bool operator!=(const FieldValueRef &ref, const std::string &str)
bool operator>(const Decimal &l, const Decimal &r)
void toString(std::string &str, TimeSpanFormat format=TimeSpanFormats::SDHHMMSSnsec) const