| 1001 | } |
| 1002 | |
| 1003 | bool DateTime::Tm::IsValid() const noexcept |
| 1004 | { |
| 1005 | return (Year != -1 && Month >= 0 && Month < 12 && (Day > 0 && Day <= Implementation::GetNumberOfDaysInMonth(Month, Year)) && |
| 1006 | (Hour >= 0 && Hour < 24) && (Minute >= 0 && Minute < 60) && (Second >= 0 && Second < 62) && (Millisecond >= 0 && Millisecond < 1000)); |
| 1007 | } |
| 1008 | |
| 1009 | void DateTime::Tm::AddMonths(std::int32_t monDiff) noexcept |
| 1010 | { |
no test coverage detected