OmmDate represents Date 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... | |
Additional Inherited Members | |
![]() | |
enum | DataCode { NoCodeEnum = 0 , BlankEnum = 1 } |
![]() | |
const EmaString & | getCodeAsString () const |
More... | |
operator const char * () const | |
More... | |
virtual | ~Data () |
More... | |
![]() | |
Data () | |
OmmDate encapsulates year, month and day information.
The following code snippet shows setting of date in ElementList;
The following code snippet shows extraction of date 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::OmmDate::getDay | ( | ) | const |
Returns Day. Range is 0 - 31 where 0 indicates blank.
UInt8 refinitiv::ema::access::OmmDate::getMonth | ( | ) | const |
Returns Month. Range is 0 - 12 where 0 indicates blank.
UInt16 refinitiv::ema::access::OmmDate::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.
![]() |
![]() |
|