#include <vdbl_alltype.h>
Public Member Functions | |
_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 254 of file vdbl_alltype.h.
_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.
short int _VDBL_dateinterval::days |
the date differencs is stored as year, day with the time difference in seconds and microseconds.
Definition at line 263 of file vdbl_alltype.h.
the date differencs is stored as year, day with the time difference in seconds and microseconds.
Definition at line 265 of file vdbl_alltype.h.
the date differencs is stored as year, day with the time difference in seconds and microseconds.
Definition at line 264 of file vdbl_alltype.h.
the date differencs is stored as year, day with the time difference in seconds and microseconds.
Definition at line 262 of file vdbl_alltype.h.