OmmTime represents Time info in Omm. More...
Accessors | |
class | Decoder |
class | StaticDecoder |
class | DateTimeStringFormat |
DataType::DataTypeEnum | getDataType () const |
More... | |
Data::DataCode | getCode () const |
More... | |
const EmaBuffer & | getAsHex () const |
More... | |
const EmaString & | toString () const |
More... | |
UInt8 | getHour () const |
More... | |
UInt8 | getMinute () const |
More... | |
UInt8 | getSecond () const |
More... | |
UInt16 | getMillisecond () const |
More... | |
UInt16 | getMicrosecond () const |
More... | |
UInt16 | getNanosecond () const |
More... | |
Additional Inherited Members | |
![]() | |
enum | DataCode { NoCodeEnum = 0 , BlankEnum = 1 } |
![]() | |
const EmaString & | getCodeAsString () const |
More... | |
operator const char * () const | |
More... | |
virtual | ~Data () |
More... | |
![]() | |
Data () | |
OmmTime encapsulates hour, minute, second, millisecond, microsecond and nanosecond information.
The following code snippet shows setting of time in ElementList.
The following code snippet sows extraction of time from ElementList.
|
virtual |
Returns a buffer that in turn provides an alphanumeric null-terminated hexadecimal string representation.
Implements refinitiv::ema::access::Data.
|
virtual |
Returns the Code, which indicates a special state of a DataType.
Implements refinitiv::ema::access::Data.
|
virtual |
Returns the DataType, which is the type of Omm data. Results in this class type.
Implements refinitiv::ema::access::Data.
UInt8 refinitiv::ema::access::OmmTime::getHour | ( | ) | const |
Returns Hour. Range is 0 - 23 where 255 indicates blank.
UInt16 refinitiv::ema::access::OmmTime::getMicrosecond | ( | ) | const |
Returns Microsecond. Range is 0 - 999 where 2047 indicates blank.
UInt16 refinitiv::ema::access::OmmTime::getMillisecond | ( | ) | const |
Returns Millisecond. Range is 0 - 999 where 65535 indicates blank.
UInt8 refinitiv::ema::access::OmmTime::getMinute | ( | ) | const |
Returns Minute. Range is 0 - 59 where 255 indicates blank.
UInt16 refinitiv::ema::access::OmmTime::getNanosecond | ( | ) | const |
Returns Nanosecond. Range is 0 - 999 where 2047 indicates blank.
UInt8 refinitiv::ema::access::OmmTime::getSecond | ( | ) | const |
Returns Second. Range is 0 - 60 where 255 indicates blank and 60 is to account for leap second.
|
virtual |
Returns a string representation of the class instance.
Implements refinitiv::ema::access::Data.
![]() |
![]() |
|