c++   class of  time