src/Date.cpp
/*!
    Returns \c true if daylight savings time flag is same to \a other's daylight savings time flag,
    otherwise returns \c false.

    \sa dst()
*/
Returns \c true if daylight savings time flag is same to \a other's daylight savings time flag,
otherwise returns \c false.


Returns \ c true if daylight savings time flag is same to \ a other ' s daylight savings time flag otherwise returns \ c false .
bool Date::isDstFlagSameTo(const Date& other) const
{
    if (m_dt.isdst < 0) {
        return other.dst() < 0;
    } else if (m_dt.isdst == 0) {
        return other.dst() == 0;
    } else {
        return other.dst() > 0;
    }
}
bool Date :: isDstFlagSameTo ( const Date & other ) const { if ( m_dt . isdst < 0 ) { return other . dst ( ) < 0 ; } else if ( m_dt . isdst == 0 ) { return other . dst ( ) == 0 ; } else { return other . dst ( ) > 0 ; } }
Returns \c true if daylight savings time flag is same to \a other's daylight savings time flag,
otherwise returns \c false.
Returns \ c true if daylight savings time flag is same to \ a other ' s daylight savings time flag otherwise returns \ c false .