52 #ifndef Patternist_YearMonthDuration_H 53 #define Patternist_YearMonthDuration_H virtual Value value() const
virtual DayCountProperty days() const
#define QT_END_NAMESPACE
This macro expands to.
Base class for classes implementing durations.
virtual MinuteProperty minutes() const
virtual ItemType::Ptr type() const
YearMonthDuration(const bool isPositive, const YearProperty years, const MonthProperty months)
The QString class provides a Unicode character string.
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.
Represents an item in the XPath 2.0 Data Model.
Implements the value instance of the xs:yearMonthDuration type.
const YearProperty m_years
virtual YearProperty years() const
A collection of common values.
virtual Item fromValue(const Value val) const
virtual SecondProperty seconds() const