Lines Matching refs:nDays
599 sal_Int32 nDays = ((sal_Int32)nYear-1) * 365; in DateToDays() local
600 nDays += ((nYear-1) / 4) - ((nYear-1) / 100) + ((nYear-1) / 400); in DateToDays()
603 nDays += DaysInMonth(i,nYear); in DateToDays()
604 nDays += nDay; in DateToDays()
606 return nDays; in DateToDays()
618 void DaysToDate( sal_Int32 nDays, in DaysToDate() argument
622 if( nDays < 0 ) in DaysToDate()
631 nTempDays = nDays; in DaysToDate()
863 sal_Int32 nDays = nDate + nNullDate; in getIsLeapYear() local
866 DaysToDate(nDays,nDay,nMonth,nYear); in getIsLeapYear()
880 sal_Int32 nDays = nDate + nNullDate; in getDaysInMonth() local
883 DaysToDate(nDays,nDay,nMonth,nYear); in getDaysInMonth()
897 sal_Int32 nDays = nDate + nNullDate; in getDaysInYear() local
900 DaysToDate(nDays,nDay,nMonth,nYear); in getDaysInYear()
926 sal_Int32 nDays = nDate + nNullDate; in getWeeksInYear() local
929 DaysToDate(nDays,nDay,nMonth,nYear); in getWeeksInYear()