Update Time.hpp

added methods