63 MSecLimit = 14 * 60 * 60 * 1000
85 if(tzMSecs % (1000 * 60) != 0)
87 context->
error(QtXmlPatterns::tr(
"A zone offset must be in the " 88 "range %1..%2 inclusive. %3 is " 96 else if(tzMSecs > MSecLimit ||
99 context->
error(QtXmlPatterns::tr(
"%1 is not a whole number of minutes.")
113 dt.setUtcOffset(tzSecs);
123 dt = dt.addSecs(tzSecs);
125 dt.setUtcOffset(tzSecs);
Contains classes implementing the functions found in XQuery 1.0 and XPath 2.0 Functions and Operators...
Expression::List m_operands
#define QT_END_NAMESPACE
This macro expands to.
Base class for classes implementing values related to time, date or both.
static Date::Ptr fromDateTime(const QDateTime &date)
virtual QExplicitlySharedDataPointer< DayTimeDuration > implicitTimezone() const =0
bool isValid() const
Returns true if both the date and the time are valid; otherwise returns false.
int count(const T &t) const
Returns the number of occurrences of value in the list.
static DateTime::Ptr fromDateTime(const QDateTime &dt)
Contains class DateTime. This file was originally called qdatetime_p.h, but various build systems can...
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
virtual Item createValue(const QDateTime &dt) const
#define QT_BEGIN_NAMESPACE
This macro expands to.
void error(const QString &message, const ReportContext::ErrorCode errorCode, const QSourceLocation &sourceLocation)
const T & at(int i) const
Returns the item at index position i in the list.
The namespace for the internal API of QtXmlPatterns.
virtual Item createValue(const QDateTime &dt) const
const QDateTime & toDateTime() const
static QString formatData(const QString &data)
T & first()
Returns a reference to the first item in the list.
Implements the value instance of the xs:dayTimeDuration type.
Contains classes implementing the functions found in XQuery 1.0 and XPath 2.0 Functions and Operators...
Contains functions used for formatting arguments, such as keywords and paths, in translated strings...
The QDateTime class provides date and time functions.
Represents an item in the XPath 2.0 Data Model.
virtual Item createValue(const QDateTime &dt) const =0
static SchemaTime::Ptr fromDateTime(const QDateTime &dt)
virtual Item createValue(const QDateTime &dt) const
qint64 MSecondCountProperty
qint32 SecondCountProperty
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const