BLPAPI C++  3.24.11
DatetimeParts Struct Reference

#include <blpapi_datetime.h>

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.

See Component blpapi_datetime

Member Enumeration Documentation

◆ Value

enum Value

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 

month is set

DAY 

day is set

OFFSET 

offset is set

HOURS 

hours is set

MINUTES 

minutes is set

SECONDS 

seconds is set

FRACSECONDS 

fraction-of-second (both millisecond and picosecond) is set

MILLISECONDS 

MILLISECONDS is a (legacy) synonym for FRACSECONDS

DATE 

year, month, and day are set

TIME 

hours, minutes, and seconds are set

TIMEFRACSECONDS 

hours, minutes, seconds, and fraction-of-second are set

TIMEMILLI 

TIMEMILLI is a (legacy) synonym for TIMEFRACSECONDS


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