Lines Matching refs:aTo
2942 ScaDate aTo( rTo ); in getDiff() local
2949 if( ((rFrom.nMonth == 2) || (rFrom.nDay < 30)) && (aTo.nOrigDay == 31) ) in getDiff()
2950 aTo.nDay = 31; in getDiff()
2951 else if( (aTo.nMonth == 2) && aTo.bLastDay ) in getDiff()
2952 aTo.nDay = ::DaysInMonth( 2, aTo.nYear ); in getDiff()
2959 if( (aTo.nMonth == 2) && (aTo.nDay == 30) ) in getDiff()
2960 aTo.nDay = ::DaysInMonth( 2, aTo.nYear ); in getDiff()
2964 if( (aFrom.nYear < aTo.nYear) || ((aFrom.nYear == aTo.nYear) && (aFrom.nMonth < aTo.nMonth)) ) in getDiff()
2972 if( aFrom.nYear < aTo.nYear ) in getDiff()
2979 nDiff += aFrom.getDaysInYearRange( aFrom.nYear, aTo.nYear - 1 ); in getDiff()
2980 aFrom.addYears( aTo.nYear - aFrom.nYear ); in getDiff()
2984 nDiff += aFrom.getDaysInMonthRange( aFrom.nMonth, aTo.nMonth - 1 ); in getDiff()
2985 aFrom.addMonths( aTo.nMonth - aFrom.nMonth ); in getDiff()
2988 nDiff += aTo.nDay - aFrom.nDay; in getDiff()