From: Mitch Curtis Date: Mon, 6 Aug 2012 13:31:33 +0000 (+0200) Subject: Fix typos in qdatetime.cpp. X-Git-Tag: v5.0.0-beta1~423 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1db721e51aa57a9e21040cce1623c9222c5156f8;p=profile%2Fivi%2Fqtbase.git Fix typos in qdatetime.cpp. Change-Id: I1c2e3dafcca69590cd7a18fdf65e2c9083ba91b9 Reviewed-by: Thiago Macieira --- diff --git a/src/corelib/tools/qdatetime.cpp b/src/corelib/tools/qdatetime.cpp index b9311df..87ff03c 100644 --- a/src/corelib/tools/qdatetime.cpp +++ b/src/corelib/tools/qdatetime.cpp @@ -215,7 +215,7 @@ static QString fmtDateTime(const QString& f, const QTime* dt = 0, const QDate* d \section2 Range of Valid Dates - Dates are stored internally as a Julian Day number, an interger count of + Dates are stored internally as a Julian Day number, an integer count of every day in a contiguous range, with 24 November 4714 BCE in the Gregorian calendar being Julian Day 0 (1 January 4713 BCE in the Julian calendar). As well as being an efficient and accurate way of storing an absolute date, @@ -806,8 +806,8 @@ QString QDate::toString(Qt::DateFormat f) const \endtable All other input characters will be ignored. Any sequence of characters that - are enclosed in singlequotes will be treated as text and not be used as an - expression. Two consecutive singlequotes ("''") are replaced by a singlequote + are enclosed in single quotes will be treated as text and not be used as an + expression. Two consecutive single quotes ("''") are replaced by a singlequote in the output. Example format strings (assuming that the QDate is the 20 July @@ -1568,8 +1568,8 @@ QString QTime::toString(Qt::DateFormat format) const \endtable All other input characters will be ignored. Any sequence of characters that - are enclosed in singlequotes will be treated as text and not be used as an - expression. Two consecutive singlequotes ("''") are replaced by a singlequote + are enclosed in single quotes will be treated as text and not be used as an + expression. Two consecutive single quotes ("''") are replaced by a singlequote in the output. Example format strings (assuming that the QTime is 14:13:09.042) @@ -2627,8 +2627,8 @@ QString QDateTime::toString(Qt::DateFormat f) const \endtable All other input characters will be ignored. Any sequence of characters that - are enclosed in singlequotes will be treated as text and not be used as an - expression. Two consecutive singlequotes ("''") are replaced by a singlequote + are enclosed in single quotes will be treated as text and not be used as an + expression. Two consecutive single quotes ("''") are replaced by a singlequote in the output. Example format strings (assumed that the QDateTime is 21 May 2001 @@ -3496,7 +3496,7 @@ QDateTime QDateTime::fromString(const QString& s, Qt::DateFormat f) \endtable All other input characters will be treated as text. Any sequence - of characters that are enclosed in singlequotes will also be + of characters that are enclosed in single quotes will also be treated as text and not be used as an expression. \snippet code/src_corelib_tools_qdatetime.cpp 12