src/Date.cpp
/*!
    Returns \c true if this date is earlier than Gregorian Calendar(1582.10.04);
    otherwise returns \c false.
*/
Returns \c true if this date is earlier than Gregorian Calendar(1582.10.04);
otherwise returns \c false.
Returns \ c true if this date is earlier than Gregorian Calendar ( 1582 . 10 . 04 ) ; otherwise returns \ c false .
bool Date::beforGregorianCalendar(int year, int month, int day)
{
    if (year > 1582)
        return false;
    if (month > 10)
        return false;
    if (month > 4)
        return false;
    return true;
}
bool Date :: beforGregorianCalendar ( int year , int month , int day ) { if ( year > 1582 ) return false ; if ( month > 10 ) return false ; if ( month > 4 ) return false ; return true ; }
Returns \c true if this date is earlier than Gregorian Calendar(1582.10.04);
otherwise returns \c false.
Returns \ c true if this date is earlier than Gregorian Calendar ( 1582 . 10 . 04 ) ; otherwise returns \ c false .