diff options
Diffstat (limited to 'doc/html/tqdate.html')
-rw-r--r-- | doc/html/tqdate.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/html/tqdate.html b/doc/html/tqdate.html index 8da5b9981..c7945c0f7 100644 --- a/doc/html/tqdate.html +++ b/doc/html/tqdate.html @@ -228,26 +228,26 @@ names can also be used, they depend on the user's locale settings. <h3 class=fn>bool <a name="isNull"></a>TQDate::isNull () const </h3> -<p> Returns TRUE if the date is null; otherwise returns FALSE. A null +<p> Returns true if the date is null; otherwise returns false. A null date is invalid. <p> <p>See also <a href="#isValid">isValid</a>(). <h3 class=fn>bool <a name="isValid"></a>TQDate::isValid () const </h3> -Returns TRUE if this date is valid; otherwise returns FALSE. +Returns true if this date is valid; otherwise returns false. <p> <p>See also <a href="#isNull">isNull</a>(). <h3 class=fn>bool <a name="isValid-2"></a>TQDate::isValid ( int y, int m, int d )<tt> [static]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Returns TRUE if the specified date (year <em>y</em>, month <em>m</em> and day -<em>d</em>) is valid; otherwise returns FALSE. +<p> Returns true if the specified date (year <em>y</em>, month <em>m</em> and day +<em>d</em>) is valid; otherwise returns false. <p> Example: <pre> - TQDate::<a href="#isValid">isValid</a>( 2002, 5, 17 ); // TRUE May 17th 2002 is valid - TQDate::<a href="#isValid">isValid</a>( 2002, 2, 30 ); // FALSE Feb 30th does not exist - TQDate::<a href="#isValid">isValid</a>( 2004, 2, 29 ); // TRUE 2004 is a leap year - TQDate::<a href="#isValid">isValid</a>( 1202, 6, 6 ); // FALSE 1202 is pre-Gregorian + TQDate::<a href="#isValid">isValid</a>( 2002, 5, 17 ); // true May 17th 2002 is valid + TQDate::<a href="#isValid">isValid</a>( 2002, 2, 30 ); // false Feb 30th does not exist + TQDate::<a href="#isValid">isValid</a>( 2004, 2, 29 ); // true 2004 is a leap year + TQDate::<a href="#isValid">isValid</a>( 1202, 6, 6 ); // false 1202 is pre-Gregorian </pre> <p> <b>Warning:</b> A <em>y</em> value in the range 00..99 is interpreted as @@ -256,8 +256,8 @@ This is an overloaded member function, provided for convenience. It behaves esse <h3 class=fn>bool <a name="leapYear"></a>TQDate::leapYear ( int y )<tt> [static]</tt> </h3> -Returns TRUE if the specified year <em>y</em> is a leap year; otherwise -returns FALSE. +Returns true if the specified year <em>y</em> is a leap year; otherwise +returns false. <h3 class=fn><a href="tqstring.html">TQString</a> <a name="longDayName"></a>TQDate::longDayName ( int weekday )<tt> [static]</tt> </h3> @@ -290,34 +290,34 @@ Returns the month (January=1..December=12) of this date. <h3 class=fn>bool <a name="operator!-eq"></a>TQDate::operator!= ( const <a href="tqdate.html">TQDate</a> & d ) const </h3> -<p> Returns TRUE if this date is different from <em>d</em>; otherwise returns FALSE. +<p> Returns true if this date is different from <em>d</em>; otherwise returns false. <h3 class=fn>bool <a name="operator-lt"></a>TQDate::operator< ( const <a href="tqdate.html">TQDate</a> & d ) const </h3> -<p> Returns TRUE if this date is earlier than <em>d</em>, otherwise returns FALSE. +<p> Returns true if this date is earlier than <em>d</em>, otherwise returns false. <h3 class=fn>bool <a name="operator-lt-eq"></a>TQDate::operator<= ( const <a href="tqdate.html">TQDate</a> & d ) const </h3> -<p> Returns TRUE if this date is earlier than or equal to <em>d</em>, -otherwise returns FALSE. +<p> Returns true if this date is earlier than or equal to <em>d</em>, +otherwise returns false. <h3 class=fn>bool <a name="operator-eq-eq"></a>TQDate::operator== ( const <a href="tqdate.html">TQDate</a> & d ) const </h3> -<p> Returns TRUE if this date is equal to <em>d</em>; otherwise returns FALSE. +<p> Returns true if this date is equal to <em>d</em>; otherwise returns false. <h3 class=fn>bool <a name="operator-gt"></a>TQDate::operator> ( const <a href="tqdate.html">TQDate</a> & d ) const </h3> -<p> Returns TRUE if this date is later than <em>d</em>, otherwise returns FALSE. +<p> Returns true if this date is later than <em>d</em>, otherwise returns false. <h3 class=fn>bool <a name="operator-gt-eq"></a>TQDate::operator>= ( const <a href="tqdate.html">TQDate</a> & d ) const </h3> -<p> Returns TRUE if this date is later than or equal to <em>d</em>, -otherwise returns FALSE. +<p> Returns true if this date is later than or equal to <em>d</em>, +otherwise returns false. <h3 class=fn>bool <a name="setYMD"></a>TQDate::setYMD ( int y, int m, int d ) </h3> @@ -326,7 +326,7 @@ Sets the date's year <em>y</em>, month <em>m</em> and day <em>d</em>. 1..12, and <em>d</em> must be in the range 1..31. <p> <b>Warning:</b> If <em>y</em> is in the range 0..99, it is interpreted as 1900..1999. -<p> Returns TRUE if the date is valid; otherwise returns FALSE. +<p> Returns true if the date is valid; otherwise returns false. <h3 class=fn><a href="tqstring.html">TQString</a> <a name="shortDayName"></a>TQDate::shortDayName ( int weekday )<tt> [static]</tt> </h3> |