#include <vdbl_alltype.h>
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 |
Definition at line 243 of file vdbl_alltype.h.
|
Date differences can be multiplied by or divided through doubles. E.g., half the time between two dates would be (d1-d2)/2. |
|
Date differences can be multiplied by or divided through doubles. E.g., half the time between two dates would be (d1-d2)/2. |
|
Add a date difference to a date |
|
Date differences can be added/subtracted using this operator |
|
Date differences can be added/subtracted using this operator |
|
Date differences can be added/subtracted using this operator |
|
Date differences can be added/subtracted using this operator |
|
Date differences can be multiplied by or divided through doubles. E.g., half the time between two dates would be (d1-d2)/2. |
|
Date differences can be multiplied by or divided through doubles. E.g., half the time between two dates would be (d1-d2)/2. |
|
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. |
|
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. |
|
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. |
|
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. |