67 "(?:(\\+|-)(\\d{2}):(\\d{2})|(Z))?" static Date::Ptr fromLexical(const QString &string)
#define QT_END_NAMESPACE
This macro expands to.
Base class for classes implementing values related to time, date or both.
The QRegExp class provides pattern matching using regular expressions.
static Date::Ptr fromDateTime(const QDateTime &date)
virtual Item fromValue(const QDateTime &dt) const
Due to strong interdependencies, this file contains the definitions for the classes Item...
virtual ItemType::Ptr type() const
QString dateToString() const
virtual QString stringValue() const
bool isValid() const
Returns true if both the date and the time are valid; otherwise returns false.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QString class provides a Unicode character string.
static QDateTime create(AtomicValue::Ptr &errorMessage, const QString &lexicalSource, const CaptureTable &captTable)
#define QT_BEGIN_NAMESPACE
This macro expands to.
void setDate(const QDate &date)
Sets the date part of this datetime to date.
Acts as a mapping table for AbstractDateTime::create() and describes where certain fields in a QRegEx...
The namespace for the internal API of QtXmlPatterns.
static void copyTimeSpec(const QDateTime &from, QDateTime &to)
Makes the QDateTime::timeSpec() and QDateTime::zoneOffset() of ot * consistent to from...
QDate date() const
Returns the date part of the datetime.
The QDateTime class provides date and time functions.
Represents an item in the XPath 2.0 Data Model.
QString zoneOffsetToString() const
static const AtomicType::Ptr xsDate
Date(const QDateTime &dateTime)