#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 an uninitialized instance.
Initializes the TimeSpan from seconds and nanoseconds.
Initializes the TimeSpan from seconds and picoseconds.
Initializes the TimeSpan from hours, minutes and seconds.
Initializes the TimeSpan from days, hours, minutes, seconds and nanoseconds.
Initializes the TimeSpan from days, hours, minutes, seconds and picoseconds.
The current absolute time span.
The maximum value of the time span.
The minimum value of the time span.
bool operator!= |
( |
const TimeSpan & |
| ) |
const |
Compares the instance with another one.
Increases the instance by another one.
Decreases the instance by another one.
bool operator< |
( |
const TimeSpan & |
| ) |
const |
Tests whether the instance is less than another one.
bool operator== |
( |
const TimeSpan & |
| ) |
const |
Compares the instance with another one.
static TimeSpan parse |
( |
const std::string & |
| ) |
|
|
static |
Parses time span from its text presentation.
Returns the time span text presentation in the requested format ("HH:MM:SS.sssssssss" by default).
The total number of seconds.
Definition at line 206 of file TimeSpan.h.
The zero value of the time span.
The documentation for this class was generated from the following file: