OnixS Borsa Italiana IDEM SOLA HSVF Market Data Handler for C++  1.1.2.0
Public Member Functions | List of all members
Date Struct Reference

Date. More...

Public Member Functions

std::string toString () const
 string representation of
 
bool operator== (const Date &right) const
 comparison
 
bool operator!= (const Date &right) const
 
bool operator< (const Date &right) const
 
bool operator> (const Date &right) const
 
bool operator<= (const Date &right) const
 
bool operator>= (const Date &right) const
 
Constructor
 Date ()
 
 Date (UInt8 day, UInt8 month, UInt16 year)
 default constructor. More...
 
Accessors
UInt16 getYear () const
 Returns the year. More...
 
UInt8 getMonth () const
 Returns the month, value in range [1..12].
 
UInt8 getDay () const
 Returns the day. More...
 
void setYear (UInt16 y)
 
void setMonth (UInt8 m)
 
void setDay (UInt8 d)
 

Detailed Description

Date.

Constructor & Destructor Documentation

Date ( UInt8  day,
UInt8  month,
UInt16  year 
)

default constructor.

all fields are set to zero

Member Function Documentation

UInt8 getDay ( ) const

Returns the day.

valid range is [1..31]

UInt16 getYear ( ) const

Returns the year.