Implements the value instance of the xs:gDay
type.
More...
#include <qgday_p.h>
Implements the value instance of the xs:gDay
type.
- Author
- Frans Englich frans.nosp@m..eng.nosp@m.lich@.nosp@m.noki.nosp@m.a.com
Definition at line 69 of file qgday_p.h.
◆ Ptr
◆ GDay()
◆ fromDateTime()
Definition at line 78 of file qgday.cpp.
Referenced by QPatternist::AbstractDateTimeToGDayCaster::castFrom().
int day() const
Returns the day of the month (1 to 31) of this date.
The QDate class provides date functions.
GDay(const QDateTime &dateTime)
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.
◆ fromLexical()
Creates an instance from the lexical representation string
.
Definition at line 54 of file qgday.cpp.
Referenced by QPatternist::StringToGDayCaster::castFrom().
56 static const CaptureTable captureTable(
62 "(?:(?:(\\+|-))(\\d{2}):(\\d{2})|(Z))?" The QRegExp class provides pattern matching using regular expressions.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
GDay(const QDateTime &dateTime)
static QDateTime create(AtomicValue::Ptr &errorMessage, const QString &lexicalSource, const CaptureTable &captTable)
The QDateTime class provides date and time functions.
◆ stringValue()
QString GDay::stringValue |
( |
| ) |
const |
|
virtual |
Implements QPatternist::AtomicValue.
Definition at line 86 of file qgday.cpp.
const QDateTime m_dateTime
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
QString toString(Qt::DateFormat f=Qt::TextDate) const
Returns the datetime as a string in the format given.
QString zoneOffsetToString() const
◆ type()
◆ CommonValues
The documentation for this class was generated from the following files: