Static Public Member Functions

blpapi::DatetimeUtil Struct Reference

#include <blpapi_datetime.h>

List of all members.

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.


Member Function Documentation

static Datetime blpapi::DatetimeUtil::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: