OnixS Euronext CCG Binary Trading Handler for C++  1.16.0.0
Public Member Functions | Public Attributes
TimeDuration Struct Reference

Time duration. More...

List of all members.

Public Member Functions

 TimeDuration (UInt8 hour, UInt8 minute, UInt8 second, UInt16 millisecond)
bool operator== (const TimeDuration &rh) const
bool operator!= (const TimeDuration &rh) const
std::string toString () const

Public Attributes

UInt8 hour
 The hour as a single-byte unsigned integer.
UInt8 minute
 The minute as a single-byte unsigned integer.
UInt8 second
 The second as a single-byte unsigned integer.
UInt16 millisecond
 The millisecond as a two-byte unsigned integer.

Detailed Description

Time duration.


Member Data Documentation

UInt8 hour

The hour as a single-byte unsigned integer.

Note:
Valid values are 0; 1; 2; ...
UInt16 millisecond

The millisecond as a two-byte unsigned integer.

Note:
Valid values are 0; 1; 2; ... If a value greater than 999 is cut off then the number of seconds.
UInt8 minute

The minute as a single-byte unsigned integer.

Note:
Valid values are 0; 1; 2; ... If a value greater than 59 is cut off then the number of hours.
UInt8 second

The second as a single-byte unsigned integer.

Note:
Valid values are 0; 1; 2; ... If a value greater than 59 is cut off then the number of minutes.