qx::QxDateNeutral : helper class to store a date value into database under neutral format (YYYYMMDD) => cross database compatibility
More...
#include <QxDateNeutral.h>
|
void | update () |
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int file_version) |
|
|
QDate | m_date |
| Data value under QDate format from Qt library.
|
|
QString | m_neutral |
| Data value under neutral format 'yyyyMMdd'.
|
|
qx::QxDateNeutral : helper class to store a date value into database under neutral format (YYYYMMDD) => cross database compatibility
Definition at line 71 of file QxDateNeutral.h.
◆ QxDateNeutral() [1/3]
qx::QxDateNeutral::QxDateNeutral |
( |
| ) |
|
|
inline |
◆ QxDateNeutral() [2/3]
qx::QxDateNeutral::QxDateNeutral |
( |
const QDate & | date | ) |
|
|
inlineexplicit |
◆ QxDateNeutral() [3/3]
qx::QxDateNeutral::QxDateNeutral |
( |
const QString & | neutral | ) |
|
|
inlineexplicit |
◆ ~QxDateNeutral()
virtual qx::QxDateNeutral::~QxDateNeutral |
( |
| ) |
|
|
inlinevirtual |
◆ format()
static const char * qx::QxDateNeutral::format |
( |
| ) |
|
|
inlinestaticprivate |
◆ fromDate()
static QxDateNeutral qx::QxDateNeutral::fromDate |
( |
const QDate & | date | ) |
|
|
inlinestatic |
◆ fromNeutral()
static QxDateNeutral qx::QxDateNeutral::fromNeutral |
( |
const QString & | neutral | ) |
|
|
inlinestatic |
◆ isValid()
bool qx::QxDateNeutral::isValid |
( |
| ) |
const |
|
inline |
◆ serialize()
template<class Archive >
void qx::QxDateNeutral::serialize |
( |
Archive & | ar, |
|
|
const unsigned int | file_version ) |
|
inlineprivate |
◆ setDate()
void qx::QxDateNeutral::setDate |
( |
const QDate & | date | ) |
|
|
inline |
◆ setNeutral()
void qx::QxDateNeutral::setNeutral |
( |
const QString & | neutral | ) |
|
|
inline |
◆ toDate()
QDate qx::QxDateNeutral::toDate |
( |
| ) |
const |
|
inline |
◆ toNeutral()
QString qx::QxDateNeutral::toNeutral |
( |
| ) |
const |
|
inline |
◆ update()
void qx::QxDateNeutral::update |
( |
| ) |
|
|
inlineprivate |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ operator<<
◆ operator>>
◆ m_date
QDate qx::QxDateNeutral::m_date |
|
private |
Data value under QDate format from Qt library.
Definition at line 83 of file QxDateNeutral.h.
◆ m_neutral
QString qx::QxDateNeutral::m_neutral |
|
private |
Data value under neutral format 'yyyyMMdd'.
Definition at line 84 of file QxDateNeutral.h.
The documentation for this class was generated from the following file: