Lines Matching refs:nDayDiff
359 sal_Int32 nDayDiff, nDaysInYear; in GetDiffParam() local
367 nDayDiff = GetDiffDate360( nDay1, nMonth1, nYear1, IsLeapYear( nYear1 ), in GetDiffParam()
379 nDayDiff = nDate2 - DateToDays( nDay1, nMonth1, nYear2 ); in GetDiffParam()
381 nDayDiff = nDate2 - nDate1; in GetDiffParam()
383 if( nDayDiff < 0 ) in GetDiffParam()
384 nDayDiff += nDaysInYear; in GetDiffParam()
390 nDayDiff = nDate2 - nDate1; in GetDiffParam()
391 nDayDiff %= nDaysInYear; in GetDiffParam()
396 nDayDiff = nDate2 - nDate1; in GetDiffParam()
397 nDayDiff %= nDaysInYear; in GetDiffParam()
404 rDayDiffPart = nDayDiff; in GetDiffParam()
519 sal_Int32 nDayDiff, nDaysInYear; in GetYearFrac() local
521 GetDiffParam( nNullDate, nStartDate, nEndDate, nMode, nYears, nDayDiff, nDaysInYear ); in GetYearFrac()
523 return double( nYears ) + double( nDayDiff ) / double( nDaysInYear ); in GetYearFrac()