Implements the value instance of the xs:gYearMonth
type.
More...
#include <qgmonthday_p.h>
Implements the value instance of the xs:gYearMonth
type.
- Author
- Frans Englich frans.nosp@m..eng.nosp@m.lich@.nosp@m.noki.nosp@m.a.com
Definition at line 69 of file qgmonthday_p.h.
◆ Ptr
◆ GMonthDay()
GMonthDay::GMonthDay |
( |
const QDateTime & |
dateTime | ) |
|
|
protected |
◆ fromDateTime()
Definition at line 80 of file qgmonthday.cpp.
Referenced by QPatternist::AbstractDateTimeToGMonthDayCaster::castFrom().
int month() const
Returns the number corresponding to the month of this date, using the following convention: ...
int day() const
Returns the day of the month (1 to 31) of this date.
The QDate class provides date functions.
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.
GMonthDay(const QDateTime &dateTime)
◆ fromLexical()
Creates an instance from the lexical representation string
.
Definition at line 54 of file qgmonthday.cpp.
Referenced by QPatternist::StringToGMonthDayCaster::castFrom().
56 static const CaptureTable captureTable(
64 "(?:(\\+|-)(\\d{2}):(\\d{2})|(Z))?" The QRegExp class provides pattern matching using regular expressions.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
static QDateTime create(AtomicValue::Ptr &errorMessage, const QString &lexicalSource, const CaptureTable &captTable)
The QDateTime class provides date and time functions.
GMonthDay(const QDateTime &dateTime)
◆ stringValue()
QString GMonthDay::stringValue |
( |
| ) |
const |
|
virtual |
Implements QPatternist::AtomicValue.
Definition at line 88 of file qgmonthday.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: