OnixS C++ Tullett Prebon SURF Handler  1.6.1
API documentation
Date Struct Reference

#include <OnixS/SURF/MarketData/FieldValue.h>

Public Member Functions

 Date ()
 
 Date (int year, int month, int day)
 
std::string toString () const
 

Public Attributes

int year
 
int month
 
int day
 

Detailed Description

Definition at line 32 of file FieldValue.h.

Constructor & Destructor Documentation

Date ( )

Initialize default instance.

Date ( int  year,
int  month,
int  day 
)

Initializes a new instance to the specified year, month, and day.

Parameters
dayThe day (1 through the number of days in month).
monthThe month (1 through 12).
yearThe year (1 through 9999).
Exceptions
ArgumentRangeExceptionIf year is less than 1 or greater than 9999 - or - month is less than 1 or greater than 12 - or - day is less than 1 or greater than the number of days in month.

Member Function Documentation

std::string toString ( ) const

Returns string representation.

Member Data Documentation

int day

The day of the month represented by this instance.

Definition at line 53 of file FieldValue.h.

int month

The month component of the date represented by this instance.

Definition at line 50 of file FieldValue.h.

int year

The year component of the date represented by this instance.

Definition at line 47 of file FieldValue.h.


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