79 "(?:(\\d+)(?:\\.(\\d+))?S)?" 99 &hours, &minutes, &sec, &msec));
124 const bool isPos = sourceSecs >= 0;
187 return ((
m_days * 24 * 60 * 60 * 1000) +
static QString number(int, int base=10)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual MonthProperty months() const
static const AtomicType::Ptr xsDayTimeDuration
#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)
The QRegExp class provides pattern matching using regular expressions.
qint32 MinuteCountProperty
virtual QString stringValue() const
The QExplicitlySharedDataPointer class represents a pointer to an explicitly shared object...
virtual ItemType::Ptr type() const
Item toItem(const QExplicitlySharedDataPointer< T > atomicValue)
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
const DayCountProperty m_days
The QString class provides a Unicode character string.
Q_DECL_CONSTEXPR T qAbs(const T &t)
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
qint64 Value
The amount in milli seconds.
QString & append(QChar c)
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)
static const DayTimeDuration::Ptr DayTimeDurationZero
QExplicitlySharedDataPointer< DayTimeDuration > Ptr
const HourProperty m_hours
virtual HourProperty hours() const
const SecondProperty m_seconds
virtual MinuteProperty minutes() const
virtual Item fromValue(const Value val) const
const MinuteProperty m_minutes
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 YearProperty years() 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 DayCountProperty days() const
qint32 SecondCountProperty
virtual MSecondProperty mseconds() const
const MSecondProperty m_mseconds
static QString serializeMSeconds(const MSecondProperty mseconds)