From 83bcbb8eb2d5bb125b617cf681d94abcbf1507db Mon Sep 17 00:00:00 2001
From: adroitwhiz <adroitwhiz@protonmail.com>
Date: Mon, 18 May 2020 01:39:39 -0400
Subject: [PATCH] Remove Timer.relativeTime

---
 src/util/timer.js           | 13 +------------
 test/fixtures/mock-timer.js |  9 ---------
 2 files changed, 1 insertion(+), 21 deletions(-)

diff --git a/src/util/timer.js b/src/util/timer.js
index fba3e94e9..c1a57d6ba 100644
--- a/src/util/timer.js
+++ b/src/util/timer.js
@@ -8,7 +8,7 @@
  * ... pass some time ...
  * var timeDifference = timer.timeElapsed();
  * ---
- * Or, you can use the `time` and `relativeTime`
+ * Or, you can use the `time` function
  * to do some measurement yourself.
  */
 
@@ -68,17 +68,6 @@ class Timer {
         return this.nowObj.now();
     }
 
-    /**
-     * Returns a time accurate relative to other times produced by this function.
-     * If possible, will use sub-millisecond precision.
-     * If not, will use millisecond precision.
-     * Not guaranteed to produce the same absolute values per-system.
-     * @returns {number} ms-scale accurate time relative to other relative times.
-     */
-    relativeTime () {
-        return this.nowObj.now();
-    }
-
     /**
      * Start a timer for measuring elapsed time,
      * at the most accurate precision possible.
diff --git a/test/fixtures/mock-timer.js b/test/fixtures/mock-timer.js
index c0e3ae495..54e2bdd80 100644
--- a/test/fixtures/mock-timer.js
+++ b/test/fixtures/mock-timer.js
@@ -78,15 +78,6 @@ class MockTimer {
         return this._mockTime;
     }
 
-    /**
-     * Returns a time accurate relative to other times produced by this function.
-     * @returns {number} ms-scale accurate time relative to other relative times.
-     * @memberof MockTimer
-     */
-    relativeTime () {
-        return this._mockTime;
-    }
-
     /**
      * Start a timer for measuring elapsed time.
      * @memberof MockTimer