Describes date + time.
You can find more information in comments below.
struct DbDateTime
{
DbDate Date;
DbTime Time;
unsigned int NanoSecond;
explicit operator String() const; // Convert to Unicode string in YYYY-MM-DD HH:MM:SS format
explicit operator AnsiString() const; // Convert to ANSI string in YYYY-MM-DD HH:MM:SS format
explicit operator CDateTime() const; // Convert to CDateTime class
bool operator==(const DbDateTime &other) const;
bool operator!=(const DbDateTime &other) const;
bool operator>(const DbDateTime &other) const;
bool operator>=(const DbDateTime &other) const;
bool operator<(const DbDateTime &other) const;
bool operator<=(const DbDateTime &other) const;
DbDateTime& operator=(const DbDateTime&) = default;
DbDateTime& operator=(DbDateTime&&) = default;
DbDateTime& operator=(const CDateTime& dt);
DbDateTime() = default;
DbDateTime(const DbDateTime&) = default;
DbDateTime(DbDateTime&&) = default;
DbDateTime(const DbDate& date, const DbTime& time, const unsigned int nano_second = 0);
DbDateTime(const CDateTime& dt);
};
Namespace: | nitisa |
Include: | Nitisa/Db/DbDateTime.h |