OmmDateTime represents DateTime 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... | |
UInt16 | getYear () const |
More... | |
UInt8 | getMonth () const |
More... | |
UInt8 | getDay () 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 () | |
OmmDateTime encapsulates year, month, day, hour, minute, second, millisecond, microsecond and nanosecond information.
The following code snippet shows extraction of DateTime from ElementList.
Definition at line 63 of file OmmDateTime.h.
|
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::OmmDateTime::getDay | ( | ) | const |
Returns Day. Range is 0 - 31 where 0 indicates blank.
UInt8 refinitiv::ema::access::OmmDateTime::getHour | ( | ) | const |
Returns Hour. Range is 0 - 23 where 255 indicates blank.
UInt16 refinitiv::ema::access::OmmDateTime::getMicrosecond | ( | ) | const |
Returns Microsecond. Range is 0 - 999 where 2047 indicates blank.
UInt16 refinitiv::ema::access::OmmDateTime::getMillisecond | ( | ) | const |
Returns Millisecond. Range is 0 - 999 where 65535 indicates blank.
UInt8 refinitiv::ema::access::OmmDateTime::getMinute | ( | ) | const |
Returns Minute. Range is 0 - 59 where 255 indicates blank.
UInt8 refinitiv::ema::access::OmmDateTime::getMonth | ( | ) | const |
Returns Month. Range is 0 - 12 where 0 indicates blank.
UInt16 refinitiv::ema::access::OmmDateTime::getNanosecond | ( | ) | const |
Returns Nanosecond. Range is 0 - 999 where 2047 indicates blank.
UInt8 refinitiv::ema::access::OmmDateTime::getSecond | ( | ) | const |
Returns Second. Range is 0 - 60 where 255 indicates blank and 60 is to account for leap second.
UInt16 refinitiv::ema::access::OmmDateTime::getYear | ( | ) | const |
Returns Year. Range is 0 - 4095 where 0 indicates blank.
|
virtual |
Returns a string representation of the class instance.
Implements refinitiv::ema::access::Data.
![]() |
![]() |
|