#include <blpapi_timepoint.h>
Public Attributes | |
blpapi_Int64_t | d_value |
This struct provides an in-core value semantic type for representing a single moment in time, assuming a simple linear model of time. The precision of such representations is guaranteed to be at least at the granularity of nanoseconds, but only times relatively near (within a few years of) the current moment are guaranteed to be representable. The actual implementation of a time point is implementation-defined and opaque to client code; in particular, time points can not be transferred between processes. (The SDK reserves the right to alter the epoch used as a base from run to run.) Clients wishing to persist time points should use the TimePointUtil::nanosecondsBetween
function to measure distance from a known epoch value, or convert the time point to some standard calendar and wall-clock convention (e.g. blpapi::Datetime
).