MCPcopy Create free account
hub / github.com/ShiqiYu/CPP / getTime

Method getTime

week10/examples/example1/time.hpp:33–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 return *this;
32 }
33 std::string getTime() const
34 {
35 return std::to_string(this->hours) + " hours and "
36 + std::to_string(this->minutes) + " minutes.";
37 }
38};

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected