[Timer] Remove unused HoursToMsec() and MsecToHours() (#1947)

This commit is contained in:
Shu Chen
2017-06-29 09:46:25 -07:00
committed by Jonathan Hui
parent 6a15261b8b
commit 5128602b49
-16
View File
@@ -233,22 +233,6 @@ public:
*/
static uint32_t MsecToSec(uint32_t aMilliseconds) { return aMilliseconds / 1000u; }
/**
* This static method returns the number of milliseconds given hours.
*
* @returns The number of milliseconds.
*
*/
static uint32_t HoursToMsec(uint32_t aHours) { return SecToMsec(aHours * 3600u); }
/**
* This static method returns the number of hours given milliseconds.
*
* @returns The number of hours.
*
*/
static uint32_t MsecToHours(uint32_t aMilliseconds) { return MsecToSec(aMilliseconds / 3600u); }
private:
/**
* This method indicates if the fire time of this timer is strictly before the fire time of a second given timer.