Fix typos in qdatetime.cpp.

Change-Id: I1c2e3dafcca69590cd7a18fdf65e2c9083ba91b9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Mitch Curtis 2012-08-06 15:31:33 +02:00 committed by Qt by Nokia
parent 5fae23eb26
commit 1db721e51a

View File

@ -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