| 17 | }; |
| 18 | |
| 19 | Date::Date(int year, int month, int day) { |
| 20 | if (!Set(year, month, day)) |
| 21 | throw std::runtime_error("Invalid date"); |
| 22 | } |
| 23 | |
| 24 | void Date::AdjustMonthLimit() { |
| 25 | if (m_month == 2 && m_day > 28) { |
nothing calls this directly
no outgoing calls
no test coverage detected