/*!
\fn bool ExtDateTime::isNull() const
- Returns TRUE if both the date and the time are null; otherwise
- returns FALSE. A null datetime is invalid.
+ Returns true if both the date and the time are null; otherwise
+ returns false. A null datetime is invalid.
\sa ExtDate::isNull(), QTime::isNull()
*/
/*!
\fn bool ExtDateTime::isValid() const
- Returns TRUE if both the date and the time are valid; otherwise
- returns FALSE.
+ Returns true if both the date and the time are valid; otherwise
+ returns false.
\sa ExtDate::isValid(), QTime::isValid()
*/
/*!
- Returns TRUE if this datetime is equal to \a dt; otherwise returns FALSE.
+ Returns true if this datetime is equal to \a dt; otherwise returns false.
\sa operator!=()
*/
}
/*!
- Returns TRUE if this datetime is different from \a dt; otherwise
- returns FALSE.
+ Returns true if this datetime is different from \a dt; otherwise
+ returns false.
\sa operator==()
*/
}
/*!
- Returns TRUE if this datetime is earlier than \a dt; otherwise
- returns FALSE.
+ Returns true if this datetime is earlier than \a dt; otherwise
+ returns false.
*/
bool ExtDateTime::operator<( const ExtDateTime &dt ) const
{
if ( d < dt.d )
- return TRUE;
- return d == dt.d ? t < dt.t : FALSE;
+ return true;
+ return d == dt.d ? t < dt.t : false;
}
/*!
- Returns TRUE if this datetime is earlier than or equal to \a dt;
- otherwise returns FALSE.
+ Returns true if this datetime is earlier than or equal to \a dt;
+ otherwise returns false.
*/
bool ExtDateTime::operator<=( const ExtDateTime &dt ) const
{
if ( d < dt.d )
- return TRUE;
- return d == dt.d ? t <= dt.t : FALSE;
+ return true;
+ return d == dt.d ? t <= dt.t : false;
}
/*!
- Returns TRUE if this datetime is later than \a dt; otherwise
- returns FALSE.
+ Returns true if this datetime is later than \a dt; otherwise
+ returns false.
*/
bool ExtDateTime::operator>( const ExtDateTime &dt ) const
{
if ( d > dt.d )
- return TRUE;
- return d == dt.d ? t > dt.t : FALSE;
+ return true;
+ return d == dt.d ? t > dt.t : false;
}
/*!
- Returns TRUE if this datetime is later than or equal to \a dt;
- otherwise returns FALSE.
+ Returns true if this datetime is later than or equal to \a dt;
+ otherwise returns false.
*/
bool ExtDateTime::operator>=( const ExtDateTime &dt ) const
{
if ( d > dt.d )
- return TRUE;
- return d == dt.d ? t >= dt.t : FALSE;
+ return true;
+ return d == dt.d ? t >= dt.t : false;
}
/*!