diff --git a/src/core/common/timer.hpp b/src/core/common/timer.hpp index 18c3db12e..a081ba287 100644 --- a/src/core/common/timer.hpp +++ b/src/core/common/timer.hpp @@ -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.