| 53 | }; |
| 54 | |
| 55 | void operator>>(istream &in, DayTime &h) |
| 56 | { |
| 57 | cout << "Input hours ( 0 , 24 ): "; |
| 58 | in >> h.hour; |
| 59 | |
| 60 | cout << "Input minutes (0 , 60 ): "; |
| 61 | in >> h.minute; |
| 62 | |
| 63 | cout << "Input seconds ( 0 ,60 ): "; |
| 64 | in >> h.second; |
| 65 | } |
| 66 | |
| 67 | void operator<<(ostream &out, DayTime &h) |
| 68 | { |
nothing calls this directly
no outgoing calls
no test coverage detected