Refactoring: Move time-related data and operations to a class called My_Time.