Lines Matching refs:nDaysInYear
359 sal_Int32 nDayDiff, nDaysInYear; in GetDiffParam() local
365 nDaysInYear = 360; in GetDiffParam()
368 nDay2, nMonth2, nYear2, nMode == 0 ) - nYears * nDaysInYear; in GetDiffParam()
373 nDaysInYear = IsLeapYear( nYear1 )? 366 : 365; in GetDiffParam()
384 nDayDiff += nDaysInYear; in GetDiffParam()
388 nDaysInYear = 360; in GetDiffParam()
389 nYears = sal_uInt16( ( nDate2 - nDate1 ) / nDaysInYear ); in GetDiffParam()
391 nDayDiff %= nDaysInYear; in GetDiffParam()
394 nDaysInYear = 365; in GetDiffParam()
395 nYears = sal_uInt16( ( nDate2 - nDate1 ) / nDaysInYear ); in GetDiffParam()
397 nDayDiff %= nDaysInYear; in GetDiffParam()
405 rDaysInYear = nDaysInYear; 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()