OnixS C++ FIX Engine 4.13.0
API Documentation
Loading...
Searching...
No Matches
SecondSpan Class Reference

Public Member Functions

 SecondSpan (TotalSeconds seconds)
Public Member Functions inherited from TimeSpan
 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
TimeSpanoperator+= (const TimeSpan &)
TimeSpanoperator-= (const TimeSpan &)
std::string toString (TimeSpanFormat::Enum=TimeSpanFormat::HHMMSSNsec) const
void toString (std::string &, TimeSpanFormat::Enum=TimeSpanFormat::HHMMSSNsec) const

Additional Inherited Members

Static Public Member Functions inherited from TimeSpan
static TimeSpan min ()
static TimeSpan max ()
static TimeSpan zero ()
static TimeSpan parse (const std::string &)
Protected Member Functions inherited from TimeSpan
void normalize ()
Protected Attributes inherited from TimeSpan
TotalSeconds seconds_
Picoseconds picoseconds_

Detailed Description

Definition at line 239 of file TimeSpan.h.

Constructor & Destructor Documentation

◆ SecondSpan()