52 #ifndef Patternist_DayTimeDuration_H 53 #define Patternist_DayTimeDuration_H
virtual MonthProperty months() const
#define QT_END_NAMESPACE
This macro expands to.
Base class for classes implementing durations.
static DayTimeDuration::Ptr fromComponents(const bool isPositive, const DayCountProperty days, const HourProperty hours, const MinuteProperty minutes, const SecondProperty seconds, const MSecondProperty mseconds)
virtual QString stringValue() const
Due to strong interdependencies, this file contains the definitions for the classes Item...
The QExplicitlySharedDataPointer class represents a pointer to an explicitly shared object...
virtual ItemType::Ptr type() const
const DayCountProperty m_days
The QString class provides a Unicode character string.
static DayTimeDuration::Ptr fromLexical(const QString &string)
static DayTimeDuration::Ptr fromSeconds(const SecondCountProperty secs, const MSecondProperty msecs=0)
#define QT_BEGIN_NAMESPACE
This macro expands to.
The namespace for the internal API of QtXmlPatterns.
virtual SecondProperty seconds() const
virtual Value value() const
Implements the value instance of the xs:dayTimeDuration type.
qint64 Value
The amount in milli seconds.
Represents an item in the XPath 2.0 Data Model.
DayTimeDuration(const bool isPositive, const DayCountProperty days, const HourProperty hours, const MinuteProperty minutes, const SecondProperty seconds, const MSecondProperty mseconds)
QExplicitlySharedDataPointer< DayTimeDuration > Ptr
const HourProperty m_hours
virtual HourProperty hours() const
const SecondProperty m_seconds
virtual MinuteProperty minutes() const
A collection of common values.
virtual Item fromValue(const Value val) const
const MinuteProperty m_minutes
virtual YearProperty years() const
virtual DayCountProperty days() const
qint32 SecondCountProperty
virtual MSecondProperty mseconds() const
const MSecondProperty m_mseconds