Lines Matching refs:nEndDate
337 void GetDiffParam( sal_Int32 nNullDate, sal_Int32 nStartDate, sal_Int32 nEndDate, sal_Int32 nMode, in GetDiffParam() argument
340 if( nStartDate > nEndDate ) in GetDiffParam()
342 sal_Int32 n = nEndDate; in GetDiffParam()
343 nEndDate = nStartDate; in GetDiffParam()
348 sal_Int32 nDate2 = nEndDate + nNullDate; in GetDiffParam()
409 sal_Int32 GetDiffDate( sal_Int32 nNullDate, sal_Int32 nStartDate, sal_Int32 nEndDate, sal_Int32 nMo… in GetDiffDate() argument
412 sal_Bool bNeg = nStartDate > nEndDate; in GetDiffDate()
416 sal_Int32 n = nEndDate; in GetDiffDate()
417 nEndDate = nStartDate; in GetDiffDate()
431 nEndDate += nNullDate; in GetDiffDate()
434 DaysToDate( nEndDate, nD2, nM2, nY2 ); in GetDiffDate()
461 nRet = nEndDate - nStartDate; in GetDiffDate()
464 nRet = nEndDate - nStartDate; in GetDiffDate()
469 nRet = nEndDate - nStartDate; in GetDiffDate()
481 double GetYearDiff( sal_Int32 nNullDate, sal_Int32 nStartDate, sal_Int32 nEndDate, sal_Int32 nMode … in GetYearDiff() argument
484 sal_Int32 nTotalDays = GetDiffDate( nNullDate, nStartDate, nEndDate, nMode, &nDays1stYear ); in GetYearDiff()
513 double GetYearFrac( sal_Int32 nNullDate, sal_Int32 nStartDate, sal_Int32 nEndDate, sal_Int32 nMode … in GetYearFrac() argument
515 if( nStartDate == nEndDate ) in GetYearFrac()
521 GetDiffParam( nNullDate, nStartDate, nEndDate, nMode, nYears, nDayDiff, nDaysInYear ); in GetYearFrac()