Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

_VDBL_dateinterval Class Reference
[Classes and types for internal use]

The VDBL date interval class. More...

#include <vdbl_alltype.h>

List of all members.

Public Methods

_VDBL_date operator+ (const _VDBL_date &_d) const
_VDBL_dateinterval operator * (double d) const
_VDBL_dateinterval operator/ (double d) const
_VDBL_dateinterval & operator *= (double d)
_VDBL_dateinterval & operator/= (double d)
_VDBL_dateinterval & operator- (const _VDBL_dateinterval &_v) const
_VDBL_dateinterval & operator-= (const _VDBL_dateinterval &_v)
_VDBL_dateinterval & operator+ (const _VDBL_dateinterval &_v) const
_VDBL_dateinterval & operator+= (const _VDBL_dateinterval &_v)

Public Attributes

int years
short int days
int seconds
int microseconds


Detailed Description

The date interval base class for the database. This class describes the difference between two dates.

Definition at line 243 of file vdbl_alltype.h.


Member Function Documentation

_VDBL_dateinterval _VDBL_dateinterval::operator * double    d const
 

Date differences can be multiplied by or divided through doubles. E.g., half the time between two dates would be (d1-d2)/2.

_VDBL_dateinterval& _VDBL_dateinterval::operator *= double    d
 

Date differences can be multiplied by or divided through doubles. E.g., half the time between two dates would be (d1-d2)/2.

_VDBL_date _VDBL_dateinterval::operator+ const _VDBL_date   _d const
 

Add a date difference to a date

_VDBL_dateinterval& _VDBL_dateinterval::operator+ const _VDBL_dateinterval &    _v const
 

Date differences can be added/subtracted using this operator

_VDBL_dateinterval& _VDBL_dateinterval::operator+= const _VDBL_dateinterval &    _v
 

Date differences can be added/subtracted using this operator

_VDBL_dateinterval& _VDBL_dateinterval::operator- const _VDBL_dateinterval &    _v const
 

Date differences can be added/subtracted using this operator

_VDBL_dateinterval& _VDBL_dateinterval::operator-= const _VDBL_dateinterval &    _v
 

Date differences can be added/subtracted using this operator

_VDBL_dateinterval _VDBL_dateinterval::operator/ double    d const
 

Date differences can be multiplied by or divided through doubles. E.g., half the time between two dates would be (d1-d2)/2.

_VDBL_dateinterval& _VDBL_dateinterval::operator/= double    d
 

Date differences can be multiplied by or divided through doubles. E.g., half the time between two dates would be (d1-d2)/2.


Member Data Documentation

short int _VDBL_dateinterval::days
 

the date differencs is stored as year, day with the time difference in seconds and microseconds.

Definition at line 252 of file vdbl_alltype.h.

int _VDBL_dateinterval::microseconds
 

the date differencs is stored as year, day with the time difference in seconds and microseconds.

Definition at line 254 of file vdbl_alltype.h.

int _VDBL_dateinterval::seconds
 

the date differencs is stored as year, day with the time difference in seconds and microseconds.

Definition at line 253 of file vdbl_alltype.h.

int _VDBL_dateinterval::years
 

the date differencs is stored as year, day with the time difference in seconds and microseconds.

Definition at line 251 of file vdbl_alltype.h.


The documentation for this class was generated from the following file:
Generated on Tue Nov 4 01:29:24 2003 for Vienna Database Library by doxygen1.2.18