52 #ifndef Patternist_Date_H 53 #define Patternist_Date_H 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.
static Date::Ptr fromDateTime(const QDateTime &date)
virtual Item fromValue(const QDateTime &dt) const
virtual ItemType::Ptr type() const
virtual QString stringValue() const
The QString class provides a Unicode character string.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The namespace for the internal API of QtXmlPatterns.
The QDateTime class provides date and time functions.
Represents an item in the XPath 2.0 Data Model.
Implements the value instance of the xs:date type.
A collection of common values.
Date(const QDateTime &dateTime)