Public Types

blpapi::DatetimeParts Struct Reference

#include <blpapi_datetime.h>

List of all members.

Public Types

enum  Value {
  YEAR = BLPAPI_DATETIME_YEAR_PART, MONTH = BLPAPI_DATETIME_MONTH_PART, DAY = BLPAPI_DATETIME_DAY_PART, OFFSET = BLPAPI_DATETIME_OFFSET_PART,
  HOURS = BLPAPI_DATETIME_HOURS_PART, MINUTES = BLPAPI_DATETIME_MINUTES_PART, SECONDS = BLPAPI_DATETIME_SECONDS_PART, FRACSECONDS = BLPAPI_DATETIME_FRACSECONDS_PART,
  MILLISECONDS = BLPAPI_DATETIME_MILLISECONDS_PART, DATE = BLPAPI_DATETIME_DATE_PART, TIME = BLPAPI_DATETIME_TIME_PART, TIMEFRACSECONDS = BLPAPI_DATETIME_TIMEFRACSECONDS_PART,
  TIMEMILLI = BLPAPI_DATETIME_TIMEMILLI_PART
}

Detailed Description

Bit flags and masks used to determine which parts of a Datetime are valid.


Member Enumeration Documentation

Enumeration used to indicate which parts of the Datetime object have had their values set. The actual enumeration constants are thus not consecutive -- they are bit fields that can be combined using bitwise operators. Note that the constants themselves are defined in blpapi_defs.h.

Enumerator:
YEAR 

year is set

MONTH 
DAY 
OFFSET 
HOURS 
MINUTES 
SECONDS 
FRACSECONDS 
MILLISECONDS 
DATE 
TIME 
TIMEFRACSECONDS 
TIMEMILLI 

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