52 #ifndef Patternist_Duration_H 53 #define Patternist_Duration_H const DayCountProperty m_days
const SecondProperty m_seconds
virtual YearProperty years() const
#define QT_END_NAMESPACE
This macro expands to.
Base class for classes implementing durations.
virtual HourProperty hours() const
Duration(const bool isPositive, const YearProperty years, const MonthProperty months, const DayCountProperty days, const HourProperty hours, const MinuteProperty minutes, const SecondProperty seconds, const MSecondProperty mseconds)
virtual ItemType::Ptr type() const
static Duration::Ptr fromComponents(const bool isPositive, const YearProperty years, const MonthProperty months, const DayCountProperty days, const HourProperty hours, const MinuteProperty minutes, const SecondProperty seconds, const MSecondProperty mseconds)
The QString class provides a Unicode character string.
virtual MonthProperty months() const
virtual MSecondProperty mseconds() const
virtual Value value() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
const MinuteProperty m_minutes
The namespace for the internal API of QtXmlPatterns.
static Duration::Ptr fromLexical(const QString &string)
qint64 Value
The amount in milli seconds.
Represents an item in the XPath 2.0 Data Model.
virtual QString stringValue() const
virtual SecondProperty seconds() const
const YearProperty m_years
Implements the value instance of the xs:duration type.
const HourProperty m_hours
A collection of common values.
virtual MinuteProperty minutes() const
const MonthProperty m_months
const MSecondProperty m_mseconds
virtual Item fromValue(const Value val) const
virtual DayCountProperty days() const