Lines Matching refs:nDays
86 long nDays; in DateToDays() local
88 nDays = ((sal_uIntPtr)nYear-1) * 365; in DateToDays()
89 nDays += ((nYear-1) / 4) - ((nYear-1) / 100) + ((nYear-1) / 400); in DateToDays()
91 nDays += DaysInMonth(i,nYear); in DateToDays()
92 nDays += nDay; in DateToDays()
93 return nDays; in DateToDays()
98 static void DaysToDate( long nDays, in DaysToDate() argument
107 nTempDays = (long)nDays; in DaysToDate()
360 Date& Date::operator +=( long nDays ) in operator +=() argument
367 nTempDays += nDays; in operator +=()
383 Date& Date::operator -=( long nDays ) in operator -=() argument
390 nTempDays -= nDays; in operator -=()
465 Date operator +( const Date& rDate, long nDays ) in operator +() argument
468 aDate += nDays; in operator +()
474 Date operator -( const Date& rDate, long nDays ) in operator -() argument
477 aDate -= nDays; in operator -()