Deprecated. Encapsulates vendor-specific date structures.
More...
#include <rw/db/dbdatevec.h>
- Deprecated
- As of SourcePro 6, use RWDateTime and RWDBTBuffer instead.
RWDBVendorDate is used to encapsulate vendor-specific date structures. RWDBDateVector is an array of RWDBVendorDate objects. Methods are provided to transfer date values between RWDBVendorDate and RWDBDateTime.
- Synopsis
#include <rw/db/dbdatevec.h>
Deprecated. Used as a buffer when transferring date values between the application and the database.
Definition dbdatevec.h:138
Deprecated. Encapsulates vendor-specific date structures.
Definition dbdatevec.h:62
- Example
In the following example, a vector dateVector
is produced. The vector is initialized with the current date and the following four days:
for (int k = 0; k < 5; k++) {
dateVector[k] = dt;
}
Deprecated. Represents a date and time stored as the number of milliseconds.
Definition db/datetime.h:78
RWDBDateTime addDays(long int num)
Definition db/datetime.h:438
◆ RWDBVendorDate()
Copies the date held in datetime to self.
◆ asString()
Returns a string representation of the date
held in self.
◆ operator RWDBDateTime()
Conversion operator. Returns an RWDBDateTime representation of self.
◆ operator=() [1/2]
Assigns the date value held in dt to self.
◆ operator=() [2/2]
Assigns the date value held in date to self.