57 Q_ASSERT(monthsP < 32 && monthsP > -32);
79 &months, 0, 0, 0, 0, 0));
static QString number(int, int base=10)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual Value value() const
virtual DayCountProperty days() const
static const DayTimeDuration::Ptr YearMonthDurationZero
#define QT_END_NAMESPACE
This macro expands to.
Base class for classes implementing durations.
virtual MinuteProperty minutes() const
virtual ItemType::Ptr type() const
The QRegExp class provides pattern matching using regular expressions.
Item toItem(const QExplicitlySharedDataPointer< T > atomicValue)
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
YearMonthDuration(const bool isPositive, const YearProperty years, const MonthProperty months)
The QString class provides a Unicode character string.
Q_DECL_CONSTEXPR T qAbs(const T &t)
static const AtomicType::Ptr xsYearMonthDuration
virtual QString stringValue() const
const MonthProperty m_months
static YearMonthDuration::Ptr fromLexical(const QString &string)
virtual HourProperty hours() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual MSecondProperty mseconds() const
The namespace for the internal API of QtXmlPatterns.
virtual MonthProperty months() const
static YearMonthDuration::Ptr fromComponents(const bool isPositive, const YearProperty years, const MonthProperty months)
qint64 Value
The amount in milli seconds.
QString & append(QChar c)
Represents an item in the XPath 2.0 Data Model.
const YearProperty m_years
virtual YearProperty years() const
static AtomicValue::Ptr create(const CaptureTable &captTable, const QString &lexical, bool *isPositive, YearProperty *years, MonthProperty *months, DayCountProperty *days, HourProperty *hours, MinuteProperty *minutes, SecondProperty *seconds, MSecondProperty *mseconds)
virtual Item fromValue(const Value val) const
Acts as a mapping table for AbstractDuration::create() and describes where certain fields in a QRegEx...
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
virtual SecondProperty seconds() const