TimeSpan(int days, int hours, int minutes, int seconds, int nanoseconds)
TimeSpan()
Initializes zero span.
static TimeSpan deserialize(const std::string &str)
De-serializes time interval from its text presentation.
TimeSpan(const TimeSpan &other)
Initializes as clone of other instance.
long long totalSeconds() const
Whole number of seconds in time interval.
TimeSpan(long long totalSeconds, int nanoseconds)
static const TimeSpan Zero
Time interval of zero length.
void toString(std::string &str, TimeSpanFormat format=TimeSpanFormats::SDHHMMSSnsec) const
TimeSpan(int hours, int minutes, int seconds, int nanoseconds=0)
TimeSpanFormats::Enum TimeSpanFormat
Time span format.