src/Date.cpp
/*!
    Sets the Date object to be default invalid state.

    \sa isValid()
*/
Sets the Date object to be default invalid state.
\sa isValid()
Sets the Date object to be default invalid state . \ sa isValid ()
void Date::makeInvalid()
{
    std::memset(&m_dt, 0, sizeof(m_dt));
    m_dt.isdst = -1;
}
void Date :: makeInvalid ( ) { std :: memset ( & m_dt , 0 , sizeof ( m_dt ) ) ; m_dt . isdst = -1 ; }
Sets the Date object to be default invalid state.
Sets the Date object to be default invalid state .