Home
last modified time | relevance | path

Searched refs:nYears (Results 1 – 5 of 5) sorted by relevance

/aoo4110/main/tools/source/datetime/
H A Ddatetime.cxx386 sal_Int64 nYears = GetYear() - 1601; in GetWin32FileDateTime() local
388 nYears * 365 + in GetWin32FileDateTime()
389 nYears / 4 - nYears / 100 + nYears / 400 + in GetWin32FileDateTime()
413 sal_Int64 nYears = in CreateFromWin32FileDateTime() local
418 nDays -= nYears * 365 + nYears / 4 - nYears / 100 + nYears / 400; in CreateFromWin32FileDateTime()
426 1, nMonths, sal::static_int_cast< sal_uInt16 >(1601 + nYears) ). in CreateFromWin32FileDateTime()
432 sal::static_int_cast< sal_uInt16 >(nYears + 1601) ); in CreateFromWin32FileDateTime()
/aoo4110/main/forms/source/xforms/xpathlib/
H A Dxpathlib.cxx388 static sal_Bool parseDuration(const xmlChar* aString, sal_Bool& bNegative, sal_Int32& nYears, sal_I… in parseDuration() argument
411 nYears = atoi(pString); in parseDuration()
458 sal_Int32 nYears = 0; in xforms_secondsFuction() local
465 if (parseDuration(pString, bNegative, nYears, nMonths, nDays, nHours, nMinutes, nSeconds)) in xforms_secondsFuction()
488 sal_Int32 nYears = 0; in xforms_monthsFuction() local
495 if (parseDuration(pString, bNegative, nYears, nMonths, nDays, nHours, nMinutes, nSeconds)) in xforms_monthsFuction()
497 nMonths += nYears*12; in xforms_monthsFuction()
/aoo4110/main/scaddins/source/analysis/
H A Danalysishelper.cxx357 sal_uInt16 nYears; in GetDiffParam() local
366 nYears = nYear2 - nYear1; in GetDiffParam()
368 nDay2, nMonth2, nYear2, nMode == 0 ) - nYears * nDaysInYear; in GetDiffParam()
371 nYears = nYear2 - nYear1; in GetDiffParam()
376 nYears--; in GetDiffParam()
378 if( nYears ) in GetDiffParam()
389 nYears = sal_uInt16( ( nDate2 - nDate1 ) / nDaysInYear ); in GetDiffParam()
395 nYears = sal_uInt16( ( nDate2 - nDate1 ) / nDaysInYear ); in GetDiffParam()
403 rYears = nYears; in GetDiffParam()
518 sal_uInt16 nYears; in GetYearFrac() local
[all …]
/aoo4110/main/sax/source/tools/
H A Dconverter.cxx1075 sal_Int32 nYears(0); in convertDuration() local
1089 nYears, sal_Unicode('Y')); in convertDuration()
1204 rDuration.Years = static_cast<sal_Int16>(nYears); in convertDuration()
/aoo4110/main/oox/source/dump/
H A Ddumperbase.cxx2739 …sal_Int64 nYears = (nDays - (nDays / (4 * 365)) + (nDays / (100 * 365)) - (nDays / (400 * 365))) /… in dumpFileTime() local
2741 sal_Int64 nDaysInYear = nDays - (nYears * 365 + nYears / 4 - nYears / 100 + nYears / 400); in dumpFileTime()
2743 aDateTime.Year = static_cast< sal_uInt16 >( 1601 + nYears ); in dumpFileTime()

Completed in 67 milliseconds