Home
last modified time | relevance | path

Searched refs:nDays (Results 1 – 25 of 34) sorted by path

12

/trunk/main/automation/source/server/
H A Dstatemnt.cxx3134 double nDays = ((double)nSeconds) / (double)(24.0*3600.0); in Execute() local
3135 fSerial += nDays; in Execute()
/trunk/main/basic/source/runtime/
H A Dmethods.cxx1818 long nDays = (long)aDate; in implGetDateMonth() local
1819 nDays -= 2; // normieren: 1.1.1900 => 0.0 in implGetDateMonth()
1820 aRefDate += nDays; in implGetDateMonth()
1828 long nDays = (long) aDate; in implGetDateYear() local
1829 nDays -= 2; // normieren: 1.1.1900 => 0.0 in implGetDateYear()
1830 aRefDate += nDays; in implGetDateYear()
1982 rPar.Get(0)->PutDate( nDays ); // JSM in RTLFUNC()
2220 aSerial += nDays; in Now_Impl()
2312 double nDays = (double)GetDayDiff( aToday ); in RTLFUNC() local
2341 pMeth->PutDate( nDays ); in RTLFUNC()
[all …]
H A Dmethods1.cxx1871 long nDays = (long) aDate; in implGetWeekDay() local
1872 nDays -= 2; // normieren: 1.1.1900 => 0 in implGetWeekDay()
1873 aRefDate += nDays; in implGetWeekDay()
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/
H A DDBTypeConversion.java101 public static void addDays(int nDays, Date _rDate) { in addDays() argument
104 nTempDays += nDays; in addDays()
121 public static void subDays(int nDays, Date _rDate) { in subDays() argument
124 nTempDays -= nDays; in subDays()
171 nTempDays = nDays; in implBuildFromRelative()
215 int nDays = 0; in implRelativeToAbsoluteNull() local
219 nDays = nNormalizedYear * 365; in implRelativeToAbsoluteNull()
224 nDays += implDaysInMonth(i, _rDate.Year); in implRelativeToAbsoluteNull()
226 nDays += _rDate.Day; in implRelativeToAbsoluteNull()
227 return nDays; in implRelativeToAbsoluteNull()
[all …]
/trunk/main/connectivity/source/commontools/
H A Ddbconversion.cxx212 sal_Int32 nDays = 0; in implRelativeToAbsoluteNull() local
216 nDays = nNormalizedYear * 365; in implRelativeToAbsoluteNull()
221 nDays += implDaysInMonth(i, _rDate.Year); in implRelativeToAbsoluteNull()
223 nDays += _rDate.Day; in implRelativeToAbsoluteNull()
224 return nDays; in implRelativeToAbsoluteNull()
235 nTempDays = nDays; in implBuildFromRelative()
299 static void addDays(sal_Int32 nDays, Date& _rDate) in addDays() argument
303 nTempDays += nDays; in addDays()
320 static void subDays( sal_Int32 nDays, Date& _rDate ) in subDays() argument
324 nTempDays -= nDays; in subDays()
[all …]
/trunk/main/extensions/source/propctrlr/
H A Dstandardcontrol.cxx316 double nDays = floor( nValue ); in getValue() local
317 aDateTime += nDays; in getValue()
320 double nTime = nValue - nDays; in getValue()
/trunk/main/forms/source/xforms/xpathlib/
H A Dxpathlib.cxx351 sal_Int32 nDays = aDateTime - aReferenceDate; in xforms_daysFromDateFunction() local
352 xmlXPathReturnNumber(ctxt, nDays); in xforms_daysFromDateFunction()
376 sal_Int32 nDays = aDateTime - aReferenceDate; in xforms_secondsFromDateTimeFunction() local
377 sal_Int32 nSeconds = nDays * 24 * 60 * 60; in xforms_secondsFromDateTimeFunction()
388 …onst xmlChar* aString, sal_Bool& bNegative, sal_Int32& nYears, sal_Int32& nMonth, sal_Int32& nDays, in parseDuration() argument
424 nDays = atoi(pString); in parseDuration()
460 sal_Int32 nDays = 0; in xforms_secondsFuction() local
465 if (parseDuration(pString, bNegative, nYears, nMonths, nDays, nHours, nMinutes, nSeconds)) in xforms_secondsFuction()
469 nSeconds += nDays*24*60*60; in xforms_secondsFuction()
490 sal_Int32 nDays = 0; in xforms_monthsFuction() local
[all …]
/trunk/main/i18npool/inc/
H A DcalendarImpl.hxx72 …virtual void SAL_CALL setMinimumNumberOfDaysForFirstWeek(sal_Int16 nDays) throw(com::sun::star::un…
H A Dcalendar_gregorian.hxx71 …virtual void SAL_CALL setMinimumNumberOfDaysForFirstWeek(sal_Int16 nDays) throw(com::sun::star::un…
/trunk/main/i18npool/source/localedata/
H A DLocaleNode.cxx1271 sal_Int16 nDays = sal::static_int_cast<sal_Int16>( str.toInt32() ); in generateCode() local
1272 if (nDays < 1 || (0 < nbOfDays[i] && nbOfDays[i] < nDays)) in generateCode()
1273 …ncErrorInt( "Bad value of MinimalDaysInFirstWeek: %d, must be 1 <= value <= days_in_week", nDays); in generateCode()
1274 of.writeIntParameter("minimalDaysInFirstWeek", i, nDays); in generateCode()
/trunk/main/offapi/com/sun/star/i18n/
H A DXCalendar.idl142 void setMinimumNumberOfDaysForFirstWeek( [in] short nDays );
/trunk/main/oox/source/dump/
H A Ddumperbase.cxx2737 sal_Int64 nDays = nFileTime / sal_Int64( 360000 * 24 ); in dumpFileTime() local
2739 …sal_Int64 nYears = (nDays - (nDays / (4 * 365)) + (nDays / (100 * 365)) - (nDays / (400 * 365))) /… in dumpFileTime()
2741 sal_Int64 nDaysInYear = nDays - (nYears * 365 + nYears / 4 - nYears / 100 + nYears / 400); in dumpFileTime()
/trunk/main/oox/source/xls/
H A Dunitconverter.cxx85 nDays += spnCumDays[ rDate.Month - 1 ]; in lclGetDays()
87 nDays += rDate.Day; in lclGetDays()
93 --nDays; in lclGetDays()
95 return nDays; in lclGetDays()
205 if( nDays >= 366 ) { ++aDateTime.Year; nDays -= 366; } in calcDateTimeFromSerial()
208 lclSkipYearBlock( nDays, aDateTime.Year, 100 * 365 + 24, 100, 3 ); in calcDateTimeFromSerial()
209 lclSkipYearBlock( nDays, aDateTime.Year, 4 * 365 + 1, 4, 24 ); in calcDateTimeFromSerial()
210 lclSkipYearBlock( nDays, aDateTime.Year, 365, 1, 3 ); in calcDateTimeFromSerial()
213 if( (nDays >= 59) && !lclIsLeapYear( aDateTime.Year ) ) ++nDays; in calcDateTimeFromSerial()
215 … while( *pnDaysInMonth >= nDays ) { ++aDateTime.Month; nDays -= *pnDaysInMonth; ++pnDaysInMonth; } in calcDateTimeFromSerial()
[all …]
/trunk/main/sax/source/tools/
H A Dconverter.cxx774 sal_Int32 nDays = 0; in convertDuration() local
839 nDays = nTemp; in convertDuration()
856 if ( nDays ) in convertDuration()
857 nHours += nDays * 24; // add the days to the hours part in convertDuration()
1077 sal_Int32 nDays(0); in convertDuration() local
1101 nDays, sal_Unicode('D')); in convertDuration()
1206 rDuration.Days = static_cast<sal_Int16>(nDays); in convertDuration()
/trunk/main/sc/addin/datefunc/
H A Ddfa.cl137 long nDays;
145 nDays += nDay;
147 return nDays;
387 ULONG nDays;
392 nDays=(int) v + nNullDate;
409 ULONG nDays;
414 nDays=(int) v + nNullDate;
443 ULONG nDays;
449 nDays=(int) v + nNullDate;
475 ULONG nDays;
[all …]
/trunk/main/sc/source/core/data/
H A Ddpgroup.cxx444 long nDays = aDate - aNullDate; in lcl_GetDateGroupName() local
448 pFormatter->GetOutputString( nDays, nFormat, aRet, &pColor ); in lcl_GetDateGroupName()
/trunk/main/scaddins/source/analysis/
H A Danalysis.cxx544 sal_Int32 nDate, sal_Int32 nDays, const ANY& aHDay ) THROWDEF_RTE_IAE in getWorkday() argument
546 if( !nDays ) in getWorkday()
557 if( nDays > 0 ) in getWorkday()
563 while( nDays ) in getWorkday()
570 nDays--; in getWorkday()
582 while( nDays ) in getWorkday()
589 nDays++; in getWorkday()
H A Danalysis.hxx121 …virtual sal_Int32 SAL_CALL getWorkday( constREFXPS&, sal_Int32 nStartDate, sal_Int32 nDays, const …
H A Danalysisadd.idl61 [in] long nStartDate, [in] long nDays, [in] any aHolidays )
H A Danalysishelper.cxx175 sal_Int32 nDays = ((sal_Int32)nYear-1) * 365; in DateToDays() local
176 nDays += ((nYear-1) / 4) - ((nYear-1) / 100) + ((nYear-1) / 400); in DateToDays()
179 nDays += DaysInMonth(i,nYear); in DateToDays()
180 nDays += nDay; in DateToDays()
182 return nDays; in DateToDays()
196 void DaysToDate( sal_Int32 nDays, sal_uInt16& rDay, sal_uInt16& rMonth, sal_uInt16& rYear ) in DaysToDate() argument
199 if( nDays < 0 ) in DaysToDate()
208 nTempDays = nDays; in DaysToDate()
437 sal_Int32 nDays, nMonths/*, nYears*/; in GetDiffDate() local
440 nDays = nD2 - nD1; in GetDiffDate()
[all …]
H A Danalysishelper.hxx65 void DaysToDate( sal_Int32 nDays, sal_uInt16& rDay, sal_uInt16& rMonth, sal_uInt16& rYear ) thro…
/trunk/main/scaddins/source/datefunc/
H A Ddatefunc.cxx603 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()
[all …]
/trunk/main/sfx2/source/doc/
H A Dobjcont.cxx253 sal_uIntPtr nDays = 0 ; // Count of days between now and last editing in UpdateTime_Impl() local
265 nDays = aNow.GetSecFromDateTime(pImp->nTime.GetDate())/86400 ; in UpdateTime_Impl()
267 if (nDays==0) in UpdateTime_Impl()
275 if (nDays<=31) in UpdateTime_Impl()
279 --nDays; in UpdateTime_Impl()
280 nAddTime = nDays*n24Time.GetTime() ; in UpdateTime_Impl()
/trunk/main/svl/source/numbers/
H A Dzforfind.cxx615 sal_Int16 nDays = pFormatter->GetCalendar()->getNumberOfDaysInWeek(); in GetDayOfWeek() local
616 for ( sal_Int16 i = 0; i < nDays; i++ ) in GetDayOfWeek()
/trunk/main/svtools/inc/svtools/
H A Dcalendar.hxx313 void SetMinimumNumberOfDaysInWeek( sal_Int16 nDays );

Completed in 162 milliseconds

12