Lines Matching refs:nTempDays
625 sal_Int32 nTempDays; in DaysToDate() local
631 nTempDays = nDays; in DaysToDate()
632 rYear = (sal_uInt16)((nTempDays / 365) - i); in DaysToDate()
633 nTempDays -= ((sal_Int32) rYear -1) * 365; in DaysToDate()
634 nTempDays -= (( rYear -1) / 4) - (( rYear -1) / 100) + ((rYear -1) / 400); in DaysToDate()
636 if ( nTempDays < 1 ) in DaysToDate()
643 if ( nTempDays > 365 ) in DaysToDate()
645 if ( (nTempDays != 366) || !IsLeapYear( rYear ) ) in DaysToDate()
656 while ( (sal_Int32)nTempDays > DaysInMonth( rMonth, rYear ) ) in DaysToDate()
658 nTempDays -= DaysInMonth( rMonth, rYear ); in DaysToDate()
661 rDay = (sal_uInt16)nTempDays; in DaysToDate()