BLPAPI C++  3.23.2
DatetimeUtil Struct Reference

#include <blpapi_datetime.h>

Static Public Member Functions

static Datetime fromTimePoint (const TimePoint &timePoint, Datetime::Offset offset=Datetime::Offset(0))
 

Detailed Description

This provides a namespace for Datetime utility functions.

See Component blpapi_datetime

Member Function Documentation

◆ fromTimePoint()

Datetime fromTimePoint ( const TimePoint timePoint,
Datetime::Offset  offset = Datetime::Offset(0) 
)
static

Create and return a Datetime object having the value of the specified timePoint and the optionally specified timezone offset, 0 by default. The resulting Datetime object has the parts specified by DATE, TIMEFRACSECONDS, and OFFSET set.


The documentation for this struct was generated from the following file: