#include <OnixS/FIXEngine/FIX/TimeSpan.h>
|
| TimeSpan () |
|
| TimeSpan (TotalSeconds seconds, Nanoseconds nanoseconds) |
|
| TimeSpan (TotalSeconds seconds, Picoseconds picoseconds) |
|
| TimeSpan (Hours hours, Minutes minutes, Seconds seconds) |
|
| TimeSpan (Days days, Hours hours, Minutes minutes, Seconds seconds, Nanoseconds nanoseconds) |
|
| TimeSpan (Days days, Hours hours, Minutes minutes, Seconds seconds, Picoseconds picooseconds) |
|
TotalSeconds | totalSeconds () const |
|
Days | days () const |
|
Hours | hours () const |
|
Minutes | minutes () const |
|
Seconds | seconds () const |
|
Milliseconds | milliseconds () const |
|
Microseconds | microseconds () const |
|
Nanoseconds | nanoseconds () const |
|
Picoseconds | picoseconds () const |
|
TimeSpan | absolute () const |
|
bool | operator== (const TimeSpan &) const |
|
bool | operator!= (const TimeSpan &) const |
|
bool | operator< (const TimeSpan &) const |
|
TimeSpan & | operator+= (const TimeSpan &) |
|
TimeSpan & | operator-= (const TimeSpan &) |
|
std::string | toString (TimeSpanFormat::Enum=TimeSpanFormat::HHMMSSNsec) const |
|
void | toString (std::string &, TimeSpanFormat::Enum=TimeSpanFormat::HHMMSSNsec) const |
|
Definition at line 93 of file TimeSpan.h.
Constructs uninitialized instance.
Initializes TimeSpan from seconds and nanoseconds.
Initializes TimeSpan from seconds and picoseconds.
Initializes TimeSpan from hours, minutes and seconds.
Initializes TimeSpan from days, hours, minutes, seconds and nanoseconds.
Initializes TimeSpan from days, hours, minutes, seconds and picoseconds.
Current absolute time span.
Maximum value of the time span.
Minimum value of the time span.
bool operator!= |
( |
const TimeSpan & |
| ) |
const |
Compares instance with another one.
Increases instance by another one.
Decreases instance by another one.
bool operator< |
( |
const TimeSpan & |
| ) |
const |
Tests whether instance is less than another one.
bool operator== |
( |
const TimeSpan & |
| ) |
const |
Compares instance with another one.
static TimeSpan parse |
( |
const std::string & |
| ) |
|
|
static |
Parses time span from its text presentation.
Returns time span text presentation in requested format ("HH:MM:SS.sssssssss" by default).
Total number of seconds.
Definition at line 206 of file TimeSpan.h.
Zero value of the time span.
The documentation for this class was generated from the following file: