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