diff options
Diffstat (limited to 'doc/man/man3/tqdate.3qt')
| -rw-r--r-- | doc/man/man3/tqdate.3qt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/man/man3/tqdate.3qt b/doc/man/man3/tqdate.3qt index 4dd499798..155234e1d 100644 --- a/doc/man/man3/tqdate.3qt +++ b/doc/man/man3/tqdate.3qt @@ -244,29 +244,29 @@ Note for TQt::TextDate: It is recommended that you use the English short month n .PP \fBWarning:\fR TQt::LocalDate cannot be used here. .SH "bool TQDate::isNull () const" -Returns TRUE if the date is null; otherwise returns FALSE. A null date is invalid. +Returns true if the date is null; otherwise returns false. A null date is invalid. .PP See also isValid(). .SH "bool TQDate::isValid () const" -Returns TRUE if this date is valid; otherwise returns FALSE. +Returns true if this date is valid; otherwise returns false. .PP See also isNull(). .SH "bool TQDate::isValid ( int y, int m, int d )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns TRUE if the specified date (year \fIy\fR, month \fIm\fR and day \fId\fR) is valid; otherwise returns FALSE. +Returns true if the specified date (year \fIy\fR, month \fIm\fR and day \fId\fR) is valid; otherwise returns false. .PP Example: .PP .nf .br - TQDate::isValid( 2002, 5, 17 ); // TRUE May 17th 2002 is valid + TQDate::isValid( 2002, 5, 17 ); // true May 17th 2002 is valid .br - TQDate::isValid( 2002, 2, 30 ); // FALSE Feb 30th does not exist + TQDate::isValid( 2002, 2, 30 ); // false Feb 30th does not exist .br - TQDate::isValid( 2004, 2, 29 ); // TRUE 2004 is a leap year + TQDate::isValid( 2004, 2, 29 ); // true 2004 is a leap year .br - TQDate::isValid( 1202, 6, 6 ); // FALSE 1202 is pre-Gregorian + TQDate::isValid( 1202, 6, 6 ); // false 1202 is pre-Gregorian .br .fi .PP @@ -274,7 +274,7 @@ Example: .PP See also isNull() and setYMD(). .SH "bool TQDate::leapYear ( int y )\fC [static]\fR" -Returns TRUE if the specified year \fIy\fR is a leap year; otherwise returns FALSE. +Returns true if the specified year \fIy\fR is a leap year; otherwise returns false. .SH "TQString TQDate::longDayName ( int weekday )\fC [static]\fR" Returns the long name of the \fIweekday\fR. .PP @@ -302,17 +302,17 @@ Example: dclock/dclock.cpp. .PP Use shortMonthName() instead. .SH "bool TQDate::operator!= ( const TQDate & d ) const" -Returns TRUE if this date is different from \fId\fR; otherwise returns FALSE. +Returns true if this date is different from \fId\fR; otherwise returns false. .SH "bool TQDate::operator< ( const TQDate & d ) const" -Returns TRUE if this date is earlier than \fId\fR, otherwise returns FALSE. +Returns true if this date is earlier than \fId\fR, otherwise returns false. .SH "bool TQDate::operator<= ( const TQDate & d ) const" -Returns TRUE if this date is earlier than or equal to \fId\fR, otherwise returns FALSE. +Returns true if this date is earlier than or equal to \fId\fR, otherwise returns false. .SH "bool TQDate::operator== ( const TQDate & d ) const" -Returns TRUE if this date is equal to \fId\fR; otherwise returns FALSE. +Returns true if this date is equal to \fId\fR; otherwise returns false. .SH "bool TQDate::operator> ( const TQDate & d ) const" -Returns TRUE if this date is later than \fId\fR, otherwise returns FALSE. +Returns true if this date is later than \fId\fR, otherwise returns false. .SH "bool TQDate::operator>= ( const TQDate & d ) const" -Returns TRUE if this date is later than or equal to \fId\fR, otherwise returns FALSE. +Returns true if this date is later than or equal to \fId\fR, otherwise returns false. .SH "bool TQDate::setYMD ( int y, int m, int d )" Sets the date's year \fIy\fR, month \fIm\fR and day \fId\fR. .PP @@ -320,7 +320,7 @@ Sets the date's year \fIy\fR, month \fIm\fR and day \fId\fR. .PP \fBWarning:\fR If \fIy\fR is in the range 0..99, it is interpreted as 1900..1999. .PP -Returns TRUE if the date is valid; otherwise returns FALSE. +Returns true if the date is valid; otherwise returns false. .SH "TQString TQDate::shortDayName ( int weekday )\fC [static]\fR" Returns the name of the \fIweekday\fR. .PP |
