[Time] Implemented some methods and test functions for TimeOfDay.