BLPAPI C++  3.21.0
Component blpapi_timepoint

Provide a time point with respect to an epoch. More...

Namespaces

 BloombergLP
 
 BloombergLP::blpapi
 

Classes

struct  blpapi_TimePoint
 
struct  TimePointUtil
 

Typedefs

typedef struct blpapi_TimePoint blpapi_TimePoint_t
 
typedef blpapi_TimePoint_t TimePoint
 

Functions

long long blpapi_TimePointUtil_nanosecondsBetween (const blpapi_TimePoint_t *start, const blpapi_TimePoint_t *end)
 

Variables

blpapi_Int64_t d_value
 

Detailed Description

Provide a time point with respect to an epoch.

Purpose:
Provide a time point with respect to an epoch
Classes:
blpapi::TimePoint a fixed moment in a linear model of time
blpapi::TimePointUtil namespace for TimePoint Utility functions
See also
Component blpapi_highresolutionclock, Component blpapi_datetime
Description:
This component provides a representation of a fixed moment in a strict linear model of time. A function to measure the distance between two such moments is provided. Note that such a moment is not associated with any particular calendar or wall-clock conventions—see blpapi_datetime for such representations (and for functions to apply such conventions to an existing time point).

Typedef Documentation

◆ blpapi_TimePoint_t

◆ TimePoint

Function Documentation

◆ blpapi_TimePointUtil_nanosecondsBetween()

long long blpapi_TimePointUtil_nanosecondsBetween ( const blpapi_TimePoint_t start,
const blpapi_TimePoint_t end 
)

Return the difference between start and end TimePoint objects. The returned value is in nanoseconds representing end - start.

Variable Documentation

◆ d_value

blpapi_Int64_t d_value