summaryrefslogtreecommitdiff
path: root/include/tools/time.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-01 13:55:55 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-02 06:37:53 +0000
commitd3d4b8691968810bb57bbd94dde39bb7be4be4da (patch)
tree0a2720842b799b0803d879a4ae3d021ff7777f4a /include/tools/time.hxx
parenta28231b72b5a87dddffad82a34deac4e5bb76ed1 (diff)
loplugin:unusedmethods tools
Change-Id: I45f5489233879126d4f9ee3d01db504d950bb597 Reviewed-on: https://gerrit.libreoffice.org/16656 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/tools/time.hxx')
-rw-r--r--include/tools/time.hxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/tools/time.hxx b/include/tools/time.hxx
index e25b2de73f53..5b72b9f179b6 100644
--- a/include/tools/time.hxx
+++ b/include/tools/time.hxx
@@ -104,9 +104,6 @@ public:
/// 12 hours == 0.5 days
double GetTimeInDays() const;
- bool IsBetween( const tools::Time& rFrom, const tools::Time& rTo ) const
- { return ((nTime >= rFrom.nTime) && (nTime <= rTo.nTime)); }
-
bool IsEqualIgnoreNanoSec( const tools::Time& rTime ) const;
bool operator ==( const tools::Time& rTime ) const
@@ -127,9 +124,6 @@ public:
/// Elapsed time since epoch in milliseconds
static sal_uInt64 GetSystemTicks();
- void ConvertToUTC() { *this -= Time::GetUTCOffset(); }
- void ConvertToLocalTime() { *this += Time::GetUTCOffset(); }
-
tools::Time& operator =( const tools::Time& rTime );
Time operator -() const
{ return Time( -nTime ); }