BLPAPI C++  3.24.11
blpapi_datetime.h File Reference

Represents a date and/or time. More...

#include <blpapi_call.h>
#include <blpapi_defs.h>
#include <blpapi_exception.h>
#include <blpapi_streamproxy.h>
#include <blpapi_timepoint.h>
#include <blpapi_types.h>
#include <cassert>
#include <cstring>
#include <iosfwd>

Go to the source code of this file.

Classes

struct  blpapi_Datetime_tag
 
struct  blpapi_HighPrecisionDatetime_tag
 
struct  DatetimeParts
 
class  Datetime
 
struct  Datetime::Milliseconds
 
struct  Datetime::Microseconds
 
struct  Datetime::Nanoseconds
 
struct  Datetime::Picoseconds
 
struct  Datetime::Offset
 
struct  DatetimeUtil
 

Namespaces

 BloombergLP
 
 BloombergLP::blpapi
 

Macros

#define INCLUDED_CASSERT
 
#define INCLUDED_CSTRING
 
#define INCLUDED_IOSFWD
 

Typedefs

typedef struct blpapi_HighPrecisionDatetime_tag blpapi_HighPrecisionDatetime_t
 

Functions

BLPAPI_EXPORT int blpapi_Datetime_compare (blpapi_Datetime_t lhs, blpapi_Datetime_t rhs)
 
BLPAPI_EXPORT int blpapi_Datetime_print (const blpapi_Datetime_t *datetime, blpapi_StreamWriter_t streamWriter, void *stream, int level, int spacesPerLevel)
 
BLPAPI_EXPORT int blpapi_HighPrecisionDatetime_compare (const blpapi_HighPrecisionDatetime_t *lhs, const blpapi_HighPrecisionDatetime_t *rhs)
 
BLPAPI_EXPORT int blpapi_HighPrecisionDatetime_print (const blpapi_HighPrecisionDatetime_t *datetime, blpapi_StreamWriter_t streamWriter, void *stream, int level, int spacesPerLevel)
 
BLPAPI_EXPORT int blpapi_HighPrecisionDatetime_fromTimePoint (blpapi_HighPrecisionDatetime_t *datetime, const blpapi_TimePoint_t *timePoint, short offset)
 
bool operator== (const Datetime &lhs, const Datetime &rhs)
 
bool operator!= (const Datetime &lhs, const Datetime &rhs)
 
bool operator< (const Datetime &lhs, const Datetime &rhs)
 
bool operator<= (const Datetime &lhs, const Datetime &rhs)
 
bool operator> (const Datetime &lhs, const Datetime &rhs)
 
bool operator>= (const Datetime &lhs, const Datetime &rhs)
 
std::ostream & operator<< (std::ostream &stream, const Datetime &datetime)
 

Detailed Description

Represents a date and/or time.

Macro Definition Documentation

◆ INCLUDED_CASSERT

#define INCLUDED_CASSERT

◆ INCLUDED_CSTRING

#define INCLUDED_CSTRING

◆ INCLUDED_IOSFWD

#define INCLUDED_IOSFWD

Typedef Documentation

◆ blpapi_HighPrecisionDatetime_t

Function Documentation

◆ blpapi_Datetime_compare()

BLPAPI_EXPORT int blpapi_Datetime_compare ( blpapi_Datetime_t  lhs,
blpapi_Datetime_t  rhs 
)

◆ blpapi_Datetime_print()

BLPAPI_EXPORT int blpapi_Datetime_print ( const blpapi_Datetime_t datetime,
blpapi_StreamWriter_t  streamWriter,
void *  stream,
int  level,
int  spacesPerLevel 
)

◆ blpapi_HighPrecisionDatetime_compare()

BLPAPI_EXPORT int blpapi_HighPrecisionDatetime_compare ( const blpapi_HighPrecisionDatetime_t lhs,
const blpapi_HighPrecisionDatetime_t rhs 
)

◆ blpapi_HighPrecisionDatetime_fromTimePoint()

BLPAPI_EXPORT int blpapi_HighPrecisionDatetime_fromTimePoint ( blpapi_HighPrecisionDatetime_t datetime,
const blpapi_TimePoint_t timePoint,
short  offset 
)

◆ blpapi_HighPrecisionDatetime_print()

BLPAPI_EXPORT int blpapi_HighPrecisionDatetime_print ( const blpapi_HighPrecisionDatetime_t datetime,
blpapi_StreamWriter_t  streamWriter,
void *  stream,
int  level,
int  spacesPerLevel 
)