52 #ifndef Patternist_GYear_H 53 #define Patternist_GYear_H #define QT_END_NAMESPACE
This macro expands to.
Base class for classes implementing values related to time, date or both.
The QString class provides a Unicode character string.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The namespace for the internal API of QtXmlPatterns.
GYear(const QDateTime &dateTime)
static GYear::Ptr fromLexical(const QString &string)
virtual QString stringValue() const
virtual ItemType::Ptr type() const
Implements the value instance of the xs:gYear type.
The QDateTime class provides date and time functions.
A collection of common values.
static GYear::Ptr fromDateTime(const QDateTime &dt)