diff options
Diffstat (limited to 'doc/html/qdate.html')
-rw-r--r-- | doc/html/qdate.html | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/html/qdate.html b/doc/html/qdate.html index 76768d112..2a1b5b22c 100644 --- a/doc/html/qdate.html +++ b/doc/html/qdate.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQDate class provides date functions. <a href="#details">More...</a> <p>All the functions in this class are <a href="threads.html#reentrant">reentrant</a> when TQt is built with thread support.</p> -<p><tt>#include <<a href="qdatetime-h.html">qdatetime.h</a>></tt> +<p><tt>#include <<a href="qdatetime-h.html">ntqdatetime.h</a>></tt> <p><a href="qdate-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -122,7 +122,7 @@ September 1752 (hence this is the earliest valid TQDate), and subsequently by most other Western countries, until 1923. <p> The end of time is reached around the year 8000, by which time we expect TQt to be obsolete. -<p> <p>See also <a href="qtime.html">TQTime</a>, <a href="qdatetime.html">TQDateTime</a>, <a href="qdateedit.html">TQDateEdit</a>, <a href="qdatetimeedit.html">TQDateTimeEdit</a>, and <a href="time.html">Time and Date</a>. +<p> <p>See also <a href="qtime.html">TQTime</a>, <a href="ntqdatetime.html">TQDateTime</a>, <a href="qdateedit.html">TQDateEdit</a>, <a href="ntqdatetimeedit.html">TQDateTimeEdit</a>, and <a href="time.html">Time and Date</a>. <hr><h2>Member Function Documentation</h2> <h3 class=fn><a name="TQDate"></a>TQDate::TQDate () @@ -158,18 +158,18 @@ Returns a TQDate object containing a date <em>nyears</em> later than the date of this object (or earlier if <em>nyears</em> is negative). <p> <p>See also <a href="#addDays">addDays</a>() and <a href="#addMonths">addMonths</a>(). -<h3 class=fn><a href="qdate.html">TQDate</a> <a name="currentDate"></a>TQDate::currentDate ( <a href="qt.html#TimeSpec-enum">TQt::TimeSpec</a> ts )<tt> [static]</tt> +<h3 class=fn><a href="qdate.html">TQDate</a> <a name="currentDate"></a>TQDate::currentDate ( <a href="ntqt.html#TimeSpec-enum">TQt::TimeSpec</a> ts )<tt> [static]</tt> </h3> Returns the current date, as reported by the system clock, for the TimeSpec <em>ts</em>. The default TimeSpec is LocalTime. -<p> <p>See also <a href="qtime.html#currentTime">TQTime::currentTime</a>(), <a href="qdatetime.html#currentDateTime">TQDateTime::currentDateTime</a>(), and <a href="qt.html#TimeSpec-enum">TQt::TimeSpec</a>. +<p> <p>See also <a href="qtime.html#currentTime">TQTime::currentTime</a>(), <a href="ntqdatetime.html#currentDateTime">TQDateTime::currentDateTime</a>(), and <a href="ntqt.html#TimeSpec-enum">TQt::TimeSpec</a>. <p>Example: <a href="dclock-example.html#x1098">dclock/dclock.cpp</a>. <h3 class=fn><a href="qdate.html">TQDate</a> <a name="currentDate-2"></a>TQDate::currentDate ()<tt> [static]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns the current date, as reported by the system clock. -<p> <p>See also <a href="qtime.html#currentTime">TQTime::currentTime</a>() and <a href="qdatetime.html#currentDateTime">TQDateTime::currentDateTime</a>(). +<p> <p>See also <a href="qtime.html#currentTime">TQTime::currentTime</a>() and <a href="ntqdatetime.html#currentDateTime">TQDateTime::currentDateTime</a>(). <h3 class=fn>int <a name="day"></a>TQDate::day () const </h3> @@ -177,7 +177,7 @@ Returns the day of the month (1..31) of this date. <p> <p>See also <a href="#year">year</a>(), <a href="#month">month</a>(), and <a href="#dayOfWeek">dayOfWeek</a>(). <p>Example: <a href="dclock-example.html#x1099">dclock/dclock.cpp</a>. -<h3 class=fn><a href="qstring.html">TQString</a> <a name="dayName"></a>TQDate::dayName ( int weekday )<tt> [static]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="dayName"></a>TQDate::dayName ( int weekday )<tt> [static]</tt> </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. @@ -217,14 +217,14 @@ negative if <em>d</em> is earlier than this date). <p> <p>See also <a href="#addDays">addDays</a>(). -<h3 class=fn><a href="qdate.html">TQDate</a> <a name="fromString"></a>TQDate::fromString ( const <a href="qstring.html">TQString</a> & s, <a href="qt.html#DateFormat-enum">TQt::DateFormat</a> f = TQt::TextDate )<tt> [static]</tt> +<h3 class=fn><a href="qdate.html">TQDate</a> <a name="fromString"></a>TQDate::fromString ( const <a href="ntqstring.html">TQString</a> & s, <a href="ntqt.html#DateFormat-enum">TQt::DateFormat</a> f = TQt::TextDate )<tt> [static]</tt> </h3> Returns the TQDate represented by the string <em>s</em>, using the format <em>f</em>, or an invalid date if the string cannot be parsed. -<p> Note for <a href="qt.html#DateFormat-enum">TQt::TextDate</a>: It is recommended that you use the +<p> Note for <a href="ntqt.html#DateFormat-enum">TQt::TextDate</a>: It is recommended that you use the English short month names (e.g. "Jan"). Although localized month names can also be used, they depend on the user's locale settings. -<p> <b>Warning:</b> <a href="qt.html#DateFormat-enum">TQt::LocalDate</a> cannot be used here. +<p> <b>Warning:</b> <a href="ntqt.html#DateFormat-enum">TQt::LocalDate</a> cannot be used here. <h3 class=fn>bool <a name="isNull"></a>TQDate::isNull () const </h3> @@ -260,7 +260,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Returns TRUE if the specified year <em>y</em> is a leap year; otherwise returns FALSE. -<h3 class=fn><a href="qstring.html">TQString</a> <a name="longDayName"></a>TQDate::longDayName ( int weekday )<tt> [static]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="longDayName"></a>TQDate::longDayName ( int weekday )<tt> [static]</tt> </h3> Returns the long name of the <em>weekday</em>. <p> 1 = "Monday", 2 = "Tuesday", ... 7 = "Sunday" @@ -268,7 +268,7 @@ Returns the long name of the <em>weekday</em>. settings. <p> <p>See also <a href="#toString">toString</a>(), <a href="#shortDayName">shortDayName</a>(), <a href="#shortMonthName">shortMonthName</a>(), and <a href="#longMonthName">longMonthName</a>(). -<h3 class=fn><a href="qstring.html">TQString</a> <a name="longMonthName"></a>TQDate::longMonthName ( int month )<tt> [static]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="longMonthName"></a>TQDate::longMonthName ( int month )<tt> [static]</tt> </h3> Returns the long name of the <em>month</em>. <p> 1 = "January", 2 = "February", ... 12 = "December" @@ -282,7 +282,7 @@ Returns the month (January=1..December=12) of this date. <p> <p>See also <a href="#year">year</a>() and <a href="#day">day</a>(). <p>Example: <a href="dclock-example.html#x1100">dclock/dclock.cpp</a>. -<h3 class=fn><a href="qstring.html">TQString</a> <a name="monthName"></a>TQDate::monthName ( int month )<tt> [static]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="monthName"></a>TQDate::monthName ( int month )<tt> [static]</tt> </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. @@ -329,7 +329,7 @@ Sets the date's year <em>y</em>, month <em>m</em> and day <em>d</em>. 1900..1999. <p> Returns TRUE if the date is valid; otherwise returns FALSE. -<h3 class=fn><a href="qstring.html">TQString</a> <a name="shortDayName"></a>TQDate::shortDayName ( int weekday )<tt> [static]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="shortDayName"></a>TQDate::shortDayName ( int weekday )<tt> [static]</tt> </h3> Returns the name of the <em>weekday</em>. <p> 1 = "Mon", 2 = "Tue", ... 7 = "Sun" @@ -337,7 +337,7 @@ Returns the name of the <em>weekday</em>. settings. <p> <p>See also <a href="#toString">toString</a>(), <a href="#shortMonthName">shortMonthName</a>(), <a href="#longMonthName">longMonthName</a>(), and <a href="#longDayName">longDayName</a>(). -<h3 class=fn><a href="qstring.html">TQString</a> <a name="shortMonthName"></a>TQDate::shortMonthName ( int month )<tt> [static]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="shortMonthName"></a>TQDate::shortMonthName ( int month )<tt> [static]</tt> </h3> Returns the name of the <em>month</em>. <p> 1 = "Jan", 2 = "Feb", ... 12 = "Dec" @@ -345,7 +345,7 @@ Returns the name of the <em>month</em>. settings. <p> <p>See also <a href="#toString">toString</a>(), <a href="#longMonthName">longMonthName</a>(), <a href="#shortDayName">shortDayName</a>(), and <a href="#longDayName">longDayName</a>(). -<h3 class=fn><a href="qstring.html">TQString</a> <a name="toString"></a>TQDate::toString ( const <a href="qstring.html">TQString</a> & format ) const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString"></a>TQDate::toString ( const <a href="ntqstring.html">TQString</a> & format ) const </h3> Returns the date as a string. The <em>format</em> parameter determines the format of the result string. @@ -379,27 +379,27 @@ Uses <a href="#longMonthName">TQDate::longMonthName</a>(). <tr bgcolor="#f0f0f0"> <td valign="top">dd.MM.yyyy <td valign="top" colspan="1" rowspan="1"> 20.07.1969 <tr bgcolor="#d0d0d0"> <td valign="top">ddd MMMM d yy <td valign="top" colspan="1" rowspan="1"> Sun July 20 69 </table></center> -<p> If the date is an invalid date, then <a href="qstring.html#TQString-null">TQString::null</a> will be returned. -<p> <p>See also <a href="qdatetime.html#toString">TQDateTime::toString</a>() and <a href="qtime.html#toString">TQTime::toString</a>(). +<p> If the date is an invalid date, then <a href="ntqstring.html#TQString-null">TQString::null</a> will be returned. +<p> <p>See also <a href="ntqdatetime.html#toString">TQDateTime::toString</a>() and <a href="qtime.html#toString">TQTime::toString</a>(). <p> -<h3 class=fn><a href="qstring.html">TQString</a> <a name="toString-2"></a>TQDate::toString ( <a href="qt.html#DateFormat-enum">TQt::DateFormat</a> f = TQt::TextDate ) const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-2"></a>TQDate::toString ( <a href="ntqt.html#DateFormat-enum">TQt::DateFormat</a> f = TQt::TextDate ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns the date as a string. The <em>f</em> parameter determines the format of the string. -<p> If <em>f</em> is <a href="qt.html#DateFormat-enum">TQt::TextDate</a>, the string format is "Sat May 20 1995" +<p> If <em>f</em> is <a href="ntqt.html#DateFormat-enum">TQt::TextDate</a>, the string format is "Sat May 20 1995" (using the <a href="#shortDayName">shortDayName</a>() and <a href="#shortMonthName">shortMonthName</a>() functions to generate the string, so the day and month names are locale specific). -<p> If <em>f</em> is <a href="qt.html#DateFormat-enum">TQt::ISODate</a>, the string format corresponds to the +<p> If <em>f</em> is <a href="ntqt.html#DateFormat-enum">TQt::ISODate</a>, the string format corresponds to the ISO 8601 specification for representations of dates, which is YYYY-MM-DD where YYYY is the year, MM is the month of the year (between 01 and 12), and DD is the day of the month between 01 and 31. -<p> If <em>f</em> is <a href="qt.html#DateFormat-enum">TQt::LocalDate</a>, the string format depends on the +<p> If <em>f</em> is <a href="ntqt.html#DateFormat-enum">TQt::LocalDate</a>, the string format depends on the locale settings of the system. -<p> If the date is an invalid date, then <a href="qstring.html#TQString-null">TQString::null</a> will be returned. +<p> If the date is an invalid date, then <a href="ntqstring.html#TQString-null">TQString::null</a> will be returned. <p> <p>See also <a href="#shortDayName">shortDayName</a>() and <a href="#shortMonthName">shortMonthName</a>(). <h3 class=fn>int <a name="weekNumber"></a>TQDate::weekNumber ( int * yearNumber = 0 ) const @@ -434,13 +434,13 @@ Returns the year (1752..8000) of this date. <p> <p>See also <a href="#month">month</a>() and <a href="#day">day</a>(). <hr><h2>Related Functions</h2> -<h3 class=fn><a href="qdatastream.html">TQDataStream</a> & <a name="operator-lt-lt"></a>operator<< ( <a href="qdatastream.html">TQDataStream</a> & s, const <a href="qdate.html">TQDate</a> & d ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt"></a>operator<< ( <a href="ntqdatastream.html">TQDataStream</a> & s, const <a href="qdate.html">TQDate</a> & d ) </h3> <p> Writes the date, <em>d</em>, to the data stream, <em>s</em>. <p> <p>See also <a href="datastreamformat.html">Format of the TQDataStream operators</a>. -<h3 class=fn><a href="qdatastream.html">TQDataStream</a> & <a name="operator-gt-gt"></a>operator>> ( <a href="qdatastream.html">TQDataStream</a> & s, <a href="qdate.html">TQDate</a> & d ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt"></a>operator>> ( <a href="ntqdatastream.html">TQDataStream</a> & s, <a href="qdate.html">TQDate</a> & d ) </h3> <p> Reads a date from the stream <em>s</em> into <em>d</em>. |