Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #ifndef H_ExtClockType
  2. #define H_ExtClockType
  3.  
  4. #include "clockType.h"
  5. #include <string>
  6.  
  7. class extClockType :public clockType
  8. {
  9.  
  10. public:
  11.  
  12. extClockType()
  13. {
  14.  
  15. }
  16.  
  17. extClockType(int hours, int minutes, int seconds,std::string t) :clockType(hours, minutes, seconds)
  18. {
  19. timeZone = t;
  20. }
  21.  
  22. void setTimeZone(std::string t)
  23. {
  24. t = timeZone;
  25. }
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32. private:
  33.  
  34. std::string timeZone;
  35.  
  36.  
  37. }
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement