diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
commit | dcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch) | |
tree | d57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqtime.html | |
parent | 649c4c61a1f1f479f4532b196f68df476cef2680 (diff) | |
download | tqt-rename/true-false-4.tar.gz tqt-rename/true-false-4.zip |
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqtime.html')
-rw-r--r-- | doc/html/tqtime.html | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/tqtime.html b/doc/html/tqtime.html index 3e1159a19..db73c3d40 100644 --- a/doc/html/tqtime.html +++ b/doc/html/tqtime.html @@ -195,27 +195,27 @@ Returns the hour part (0..23) of the time. <h3 class=fn>bool <a name="isNull"></a>TQTime::isNull () const </h3> -<p> Returns TRUE if the time is equal to 00:00:00.000; otherwise -returns FALSE. A null time is valid. +<p> Returns true if the time is equal to 00:00:00.000; otherwise +returns false. A null time is valid. <p> <p>See also <a href="#isValid">isValid</a>(). <h3 class=fn>bool <a name="isValid"></a>TQTime::isValid () const </h3> -Returns TRUE if the time is valid; otherwise returns FALSE. The +Returns true if the time is valid; otherwise returns false. The time 23:30:55.746 is valid, whereas 24:12:30 is invalid. <p> <p>See also <a href="#isNull">isNull</a>(). <h3 class=fn>bool <a name="isValid-2"></a>TQTime::isValid ( int h, int m, int s, int ms = 0 )<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 time is valid; otherwise returns -FALSE. +<p> Returns true if the specified time is valid; otherwise returns +false. <p> The time is valid if <em>h</em> is in the range 0..23, <em>m</em> and <em>s</em> are in the range 0..59, and <em>ms</em> is in the range 0..999. <p> Example: <pre> - TQTime::<a href="#isValid">isValid</a>(21, 10, 30); // returns TRUE - TQTime::<a href="#isValid">isValid</a>(22, 5, 62); // returns FALSE + TQTime::<a href="#isValid">isValid</a>(21, 10, 30); // returns true + TQTime::<a href="#isValid">isValid</a>(22, 5, 62); // returns false </pre> @@ -240,34 +240,34 @@ seconds in a day, the result is always between -86400000 and <h3 class=fn>bool <a name="operator!-eq"></a>TQTime::operator!= ( const <a href="tqtime.html">TQTime</a> & t ) const </h3> -<p> Returns TRUE if this time is different from <em>t</em>; otherwise returns FALSE. +<p> Returns true if this time is different from <em>t</em>; otherwise returns false. <h3 class=fn>bool <a name="operator-lt"></a>TQTime::operator< ( const <a href="tqtime.html">TQTime</a> & t ) const </h3> -<p> Returns TRUE if this time is earlier than <em>t</em>; otherwise returns FALSE. +<p> Returns true if this time is earlier than <em>t</em>; otherwise returns false. <h3 class=fn>bool <a name="operator-lt-eq"></a>TQTime::operator<= ( const <a href="tqtime.html">TQTime</a> & t ) const </h3> -<p> Returns TRUE if this time is earlier than or equal to <em>t</em>; -otherwise returns FALSE. +<p> Returns true if this time is earlier than or equal to <em>t</em>; +otherwise returns false. <h3 class=fn>bool <a name="operator-eq-eq"></a>TQTime::operator== ( const <a href="tqtime.html">TQTime</a> & t ) const </h3> -<p> Returns TRUE if this time is equal to <em>t</em>; otherwise returns FALSE. +<p> Returns true if this time is equal to <em>t</em>; otherwise returns false. <h3 class=fn>bool <a name="operator-gt"></a>TQTime::operator> ( const <a href="tqtime.html">TQTime</a> & t ) const </h3> -<p> Returns TRUE if this time is later than <em>t</em>; otherwise returns FALSE. +<p> Returns true if this time is later than <em>t</em>; otherwise returns false. <h3 class=fn>bool <a name="operator-gt-eq"></a>TQTime::operator>= ( const <a href="tqtime.html">TQTime</a> & t ) const </h3> -<p> Returns TRUE if this time is later than or equal to <em>t</em>; -otherwise returns FALSE. +<p> Returns true if this time is later than or equal to <em>t</em>; +otherwise returns false. <h3 class=fn>int <a name="restart"></a>TQTime::restart () </h3> @@ -304,8 +304,8 @@ seconds in a day, the result is always between -86400 and 86400. Sets the time to hour <em>h</em>, minute <em>m</em>, seconds <em>s</em> and milliseconds <em>ms</em>. <p> <em>h</em> must be in the range 0..23, <em>m</em> and <em>s</em> must be in the -range 0..59, and <em>ms</em> must be in the range 0..999. Returns TRUE -if the set time is valid; otherwise returns FALSE. +range 0..59, and <em>ms</em> must be in the range 0..999. Returns true +if the set time is valid; otherwise returns false. <p> <p>See also <a href="#isValid">isValid</a>(). <h3 class=fn>void <a name="start"></a>TQTime::start () |