diff options
Diffstat (limited to 'src/corelib/tools/qdatetime.cpp')
-rw-r--r-- | src/corelib/tools/qdatetime.cpp | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/src/corelib/tools/qdatetime.cpp b/src/corelib/tools/qdatetime.cpp index 4303731e40..ac5d6c4a8e 100644 --- a/src/corelib/tools/qdatetime.cpp +++ b/src/corelib/tools/qdatetime.cpp @@ -3710,74 +3710,6 @@ QDataStream &operator>>(QDataStream &in, QDateTime &dateTime) #endif // QT_NO_DATASTREAM -/*! - \fn QString QDate::monthName(int month) - - Use shortMonthName() instead. -*/ - -/*! - \fn QString QDate::dayName(int weekday) - - Use shortDayName() instead. -*/ - -/*! - \fn bool QDate::leapYear(int year) - - Use isLeapYear() instead. -*/ - -/*! - \fn QDate QDate::currentDate(Qt::TimeSpec spec) - - If \a spec is Qt::LocalTime, use the currentDate() overload that - takes no parameters instead; otherwise, use - QDateTime::currentDateTime(). - - \oldcode - QDate localDate = QDate::currentDate(Qt::LocalTime); - QDate utcDate = QDate::currentDate(Qt::UTC); - \newcode - QDate localDate = QDate::currentDate(); - QDate utcDate = QDateTime::currentDateTime().toUTC().date(); - \endcode - - \sa QDateTime::toUTC() -*/ - -/*! - \fn QTime QTime::currentTime(Qt::TimeSpec specification) - - Returns the current time for the given \a specification. - - To replace uses of this function where the \a specification is Qt::LocalTime, - use the currentDate() overload that takes no parameters instead; otherwise, - use QDateTime::currentDateTime() and convert the result to a UTC measurement. - - \oldcode - QTime localTime = QTime::currentTime(Qt::LocalTime); - QTime utcTime = QTime::currentTime(Qt::UTC); - \newcode - QTime localTime = QTime::currentTime(); - QTime utcTime = QTimeTime::currentDateTime().toUTC().time(); - \endcode - - \sa QDateTime::toUTC() -*/ - -/*! - \fn void QDateTime::setTime_t(uint secsSince1Jan1970UTC, Qt::TimeSpec spec) - - Use the single-argument overload of setTime_t() instead. -*/ - -/*! - \fn QDateTime QDateTime::currentDateTime(Qt::TimeSpec spec) - - Use the currentDateTime() overload that takes no parameters - instead. -*/ // checks if there is an unqoted 'AP' or 'ap' in the string static bool hasUnquotedAP(const QString &f) |