EMA C++ Edition
DateTimeStringFormat.h
Go to the documentation of this file.
1/*|-----------------------------------------------------------------------------
2 *| This source code is provided under the Apache 2.0 license
3 *| and is provided AS IS with no warranty or guarantee of fit for purpose.
4 *| See the project's LICENSE.md for details.
5 *| Copyright (C) 2019 LSEG. All rights reserved. --
6 *|-----------------------------------------------------------------------------
7 */
8
9#ifndef __refinitiv_ema_access_DateTimeStringFormat_h
10#define __refinitiv_ema_access_DateTimeStringFormat_h
11
26#include "Access/Include/Data.h"
30
31namespace refinitiv {
32
33namespace ema {
34
35namespace access {
36
38{
39public :
44 {
45 STR_DATETIME_ISO8601 = 1,
47 STR_DATETIME_RSSL = 2
49 };
50
51 DateTimeStringFormat(): _format(STR_DATETIME_RSSL){};
52
57
64
70
76
82
83private:
85};
86
87}
88
89}
90
91}
92
93#endif // __refinitiv_ema_access_DateTimeStringFormat_h
#define EMA_ACCESS_API
Definition: Common.h:95
*|--------------------------------------------------------------------------—
Definition: AckMsg.h:62
The access namespace contains all interfaces and definitions specified for use with the EMA Access pa...
The ema namespace contains all interfaces and definitions specified for use with EMA.
DateTimeStringFormat is an interface to string conversion methods for OmmDate, OmmTime & OmmDateTime.
void dateTimeStringFormatType(DateTimeStringFormatTypes format)
const EmaString & dateTimeAsString(OmmDateTime &dateTime)
const EmaString & timeAsString(OmmTime &time)
DateTimeStringFormatTypes getDateTimeStringFormatType()
const EmaString & dateAsString(OmmDate &date)
EmaString class is a container of a null terminated Ascii character string.
Definition: EmaString.h:57
OmmDate represents Date info in Omm.
Definition: OmmDate.h:70
OmmDateTime represents DateTime info in Omm.
Definition: OmmDateTime.h:64
OmmTime represents Time info in Omm.
Definition: OmmTime.h:70