summaryrefslogtreecommitdiff
path: root/include/tools/datetime.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools/datetime.hxx')
-rw-r--r--include/tools/datetime.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/tools/datetime.hxx b/include/tools/datetime.hxx
index 1de0f3d6432c..a8d732efc510 100644
--- a/include/tools/datetime.hxx
+++ b/include/tools/datetime.hxx
@@ -47,26 +47,26 @@ public:
DateTime( const Date& rDate, const Time& rTime ) :
Date( rDate ), Time( rTime ) {}
- sal_Bool IsBetween( const DateTime& rFrom,
+ bool IsBetween( const DateTime& rFrom,
const DateTime& rTo ) const;
- sal_Bool IsEqualIgnoreNanoSec( const DateTime& rDateTime ) const
+ bool IsEqualIgnoreNanoSec( const DateTime& rDateTime ) const
{
if ( Date::operator!=( rDateTime ) )
- return sal_False;
+ return false;
return Time::IsEqualIgnoreNanoSec( rDateTime );
}
- sal_Bool operator ==( const DateTime& rDateTime ) const
+ bool operator ==( const DateTime& rDateTime ) const
{ return (Date::operator==( rDateTime ) &&
Time::operator==( rDateTime )); }
- sal_Bool operator !=( const DateTime& rDateTime ) const
+ bool operator !=( const DateTime& rDateTime ) const
{ return (Date::operator!=( rDateTime ) ||
Time::operator!=( rDateTime )); }
- sal_Bool operator >( const DateTime& rDateTime ) const;
- sal_Bool operator <( const DateTime& rDateTime ) const;
- sal_Bool operator >=( const DateTime& rDateTime ) const;
- sal_Bool operator <=( const DateTime& rDateTime ) const;
+ bool operator >( const DateTime& rDateTime ) const;
+ bool operator <( const DateTime& rDateTime ) const;
+ bool operator >=( const DateTime& rDateTime ) const;
+ bool operator <=( const DateTime& rDateTime ) const;
long GetSecFromDateTime( const Date& rDate ) const;