Lines Matching refs:nTempDays
202 sal_Int32 nTempDays; in DaysToDate() local
208 nTempDays = nDays; in DaysToDate()
209 rYear = (sal_uInt16)((nTempDays / 365) - i); in DaysToDate()
210 nTempDays -= ((sal_Int32) rYear -1) * 365; in DaysToDate()
211 nTempDays -= (( rYear -1) / 4) - (( rYear -1) / 100) + ((rYear -1) / 400); in DaysToDate()
213 if ( nTempDays < 1 ) in DaysToDate()
220 if ( nTempDays > 365 ) in DaysToDate()
222 if ( (nTempDays != 366) || !IsLeapYear( rYear ) ) in DaysToDate()
233 while ( (sal_Int32)nTempDays > DaysInMonth( rMonth, rYear ) ) in DaysToDate()
235 nTempDays -= DaysInMonth( rMonth, rYear ); in DaysToDate()
238 rDay = (sal_uInt16)nTempDays; in DaysToDate()