Lines Matching refs:aFrom
2941 ScaDate aFrom( rFrom ); in getDiff() local
2957 if( (aFrom.nMonth == 2) && (aFrom.nDay == 30) ) in getDiff()
2958 aFrom.nDay = ::DaysInMonth( 2, aFrom.nYear ); in getDiff()
2964 if( (aFrom.nYear < aTo.nYear) || ((aFrom.nYear == aTo.nYear) && (aFrom.nMonth < aTo.nMonth)) ) in getDiff()
2967 nDiff = aFrom.getDaysInMonth() - aFrom.nDay + 1; in getDiff()
2968 aFrom.nOrigDay = aFrom.nDay = 1; in getDiff()
2969 aFrom.bLastDay = sal_False; in getDiff()
2970 aFrom.addMonths( 1 ); in getDiff()
2972 if( aFrom.nYear < aTo.nYear ) in getDiff()
2975 nDiff += aFrom.getDaysInMonthRange( aFrom.nMonth, 12 ); in getDiff()
2976 aFrom.addMonths( 13 - aFrom.nMonth ); 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()