Classes | Namespaces | Typedefs | Functions

Component blpapi_timepoint
[Package blpapi]

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

Classes

struct  blpapi_TimePoint

Namespaces

namespace  blpapi

Typedefs

typedef struct blpapi_TimePoint blpapi_TimePoint_t

Functions

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

Detailed Description

Provide a time point with respect to an epoch.

Outline
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


Function Documentation

BLPAPI_EXPORT 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.