Lines Matching refs:nDays
162 long nDays = nSec / (24UL*60*60); in MakeDateTimeFromSec() local
164 nSec -= nDays * (24UL*60*60); in MakeDateTimeFromSec()
168 operator+=( nDays ); in MakeDateTimeFromSec()
259 DateTime operator +( const DateTime& rDateTime, long nDays ) in operator +() argument
262 aDateTime += nDays; in operator +()
276 DateTime operator -( const DateTime& rDateTime, long nDays ) in operator -() argument
279 aDateTime -= nDays; in operator -()
368 long nDays = (const Date&) rDateTime1 - (const Date&) rDateTime2; in operator -() local
374 if ( nDays < 0 && fTime > 0.0 ) in operator -()
376 return double(nDays) + fTime; in operator -()
378 return double(nDays); in operator -()
387 sal_Int64 nDays = in GetWin32FileDateTime() local
393 a100nPerDay * nDays + in GetWin32FileDateTime()
412 sal_Int64 nDays = aTime / a100nPerDay; in CreateFromWin32FileDateTime() local
414 ( nDays - in CreateFromWin32FileDateTime()
415 ( nDays / ( 4 * 365 ) ) + in CreateFromWin32FileDateTime()
416 ( nDays / ( 100 * 365 ) ) - in CreateFromWin32FileDateTime()
417 ( nDays / ( 400 * 365 ) ) ) / 365; in CreateFromWin32FileDateTime()
418 nDays -= nYears * 365 + nYears / 4 - nYears / 100 + nYears / 400; in CreateFromWin32FileDateTime()
421 for( sal_Int64 nDaysCount = nDays; nDaysCount >= 0; ) in CreateFromWin32FileDateTime()
423 nDays = nDaysCount; in CreateFromWin32FileDateTime()
431 (sal_uInt16)( nDays + 1 ), nMonths, in CreateFromWin32FileDateTime()