Lines Matching refs:nDays
175 sal_Int32 nDays = ((sal_Int32)nYear-1) * 365; in DateToDays() local
176 nDays += ((nYear-1) / 4) - ((nYear-1) / 100) + ((nYear-1) / 400); in DateToDays()
179 nDays += DaysInMonth(i,nYear); in DateToDays()
180 nDays += nDay; in DateToDays()
182 return nDays; in DateToDays()
196 void DaysToDate( sal_Int32 nDays, sal_uInt16& rDay, sal_uInt16& rMonth, sal_uInt16& rYear ) in DaysToDate() argument
199 if( nDays < 0 ) in DaysToDate()
208 nTempDays = nDays; in DaysToDate()
437 sal_Int32 nDays, nMonths/*, nYears*/; in GetDiffDate() local
440 nDays = nD2 - nD1; in GetDiffDate()
444 nRet = nMonths * 30 + nDays; in GetDiffDate()