Home
last modified time | relevance | path

Searched refs:nDay (Results 1 – 25 of 56) sorted by relevance

123

/trunk/main/tools/source/datetime/
H A Dtdate.cxx92 nDays += nDay; in DateToDays()
203 sal_uIntPtr nDay = GetDay(); in SetYear() local
220 sal_uInt16 nDay = GetDay(); in GetDayOfYear() local
223 return nDay; in GetDayOfYear()
306 sal_uInt16 nDay; in GetWeekOfYear() local
337 sal_uInt16 nDay = GetDay(); in IsValid() local
343 if ( !nDay || (nDay > DaysInMonth( nMonth, nYear )) ) in IsValid()
362 sal_uInt16 nDay; in operator +=() local
385 sal_uInt16 nDay; in operator -=() local
408 sal_uInt16 nDay; in operator ++() local
[all …]
/trunk/main/svtools/source/control/
H A Dcalendar.cxx354 switch (nDay) in SetWeekStart()
378 switch (nDay) in ImplGetWeekStart()
524 nDay++; in ImplFormat()
525 nDay %= 7; in ImplFormat()
655 for ( nDay = 0; nDay < nDayIndex; nDay++ ) in ImplHitTest()
667 for ( nDay = 1; nDay <= nDaysInMonth; nDay++ ) in ImplHitTest()
696 for ( nDay = 1; nDay <= nDayCount; nDay++ ) in ImplHitTest()
1147 for ( nDay = 0; nDay < nDayIndex; nDay++ ) in ImplDraw()
1155 for ( nDay = 1; nDay <= nDaysInMonth; nDay++ ) in ImplDraw()
1176 for ( nDay = 1; nDay <= nDayCount; nDay++ ) in ImplDraw()
[all …]
/trunk/main/ucb/source/ucp/ftp/
H A Dftpdirp.cxx85 sal_uInt16 nDay = 0; in parseDOS() local
156 nDay = 10 * nDay + (*p - '0'); in parseDOS()
161 else if ((*p == '.' || *p == '-') && nDay && nDay <= 31) in parseDOS()
425 nDay = 10 * nDay + (*p - '0'); in parseDOS()
430 else if (*p == '-' && nDay && nDay <= 31) in parseDOS()
713 sal_uInt16 nDay; in parseVMS() local
719 nDay = *p++ - '0'; in parseVMS()
725 nDay = 10 * nDay + (*p++ - '0'); in parseVMS()
1138 nDay = 10 * nDay + (pStart[1] - '0'); in parseUNIX_isDayField()
1140 if (!nDay || nDay > 31) in parseUNIX_isDayField()
[all …]
/trunk/main/sc/inc/
H A Ddocoptio.hxx38 sal_uInt16 nDay; // Nulldatum: member in ScDocOptions
72 { rD = nDay; rM = nMonth; rY = nYear;} in GetDate()
74 { nDay = nD; nMonth = nM; nYear = nY; } in SetDate()
106 rOpt.nDay = nDay; in CopyTo()
125 nDay = rCpy.nDay; in operator =()
147 && rOpt.nDay == nDay in operator ==()
/trunk/main/scaddins/source/analysis/
H A Danalysishelper.cxx180 nDays += nDay; in DateToDays()
1626 if( !nDay ) in Insert()
1629 nDay += nNullDate; in Insert()
1631 Insert( nDay ); in Insert()
2812 nDay( 1 ), in ScaDate()
2834 nDay( rCopy.nDay ), in ScaDate()
2849 nDay = rCopy.nDay; in operator =()
2867 nDay = 30; in setDay()
2988 nDiff += aTo.nDay - aFrom.nDay; in getDiff()
2998 if( nDay != rCmp.nDay ) in operator <()
[all …]
/trunk/main/scaddins/source/datefunc/
H A Ddatefunc.cxx604 nDays += nDay; in DateToDays()
763 sal_uInt16 nDay,nMonth,nYear; in getDiffWeeks() local
764 DaysToDate( nDays1, nDay, nMonth, nYear ); in getDiffWeeks()
865 sal_uInt16 nDay, nMonth, nYear; in getIsLeapYear() local
866 DaysToDate(nDays,nDay,nMonth,nYear); in getIsLeapYear()
882 sal_uInt16 nDay, nMonth, nYear; in getDaysInMonth() local
883 DaysToDate(nDays,nDay,nMonth,nYear); in getDaysInMonth()
899 sal_uInt16 nDay, nMonth, nYear; in getDaysInYear() local
900 DaysToDate(nDays,nDay,nMonth,nYear); in getDaysInYear()
928 sal_uInt16 nDay, nMonth, nYear; in getWeeksInYear() local
[all …]
/trunk/main/unotools/source/i18n/
H A Dlocaledatawrapper.cxx1055 xub_StrLen nDay = rCode.Search( 'D' ); in scanDateFormatImpl() local
1065 nDay = rCode.Search( 'P' ); in scanDateFormatImpl()
1069 else if ( nDay == STRING_NOTFOUND ) in scanDateFormatImpl()
1073 nDay = rCode.Search( 'T' ); // German in scanDateFormatImpl()
1074 if ( nDay != STRING_NOTFOUND ) in scanDateFormatImpl()
1082 if ( nDay == STRING_NOTFOUND ) in scanDateFormatImpl()
1103 if ( nDay == STRING_NOTFOUND ) in scanDateFormatImpl()
1104 nDay = rCode.Len(); in scanDateFormatImpl()
1112 if ( nDay <= nMonth && nMonth <= nYear ) in scanDateFormatImpl()
1114 else if ( nMonth <= nDay && nDay <= nYear ) in scanDateFormatImpl()
[all …]
/trunk/main/basic/source/runtime/
H A Dmethods1.cxx1832 sal_Int16 nDay = rPar.Get(1)->GetInteger(); in RTLFUNC() local
1846 nDay = 1 + (nDay + nDayCount + nFirstDay - 2) % nDayCount; in RTLFUNC()
1847 if( nDay < 1 || nDay > nDayCount ) in RTLFUNC()
1875 sal_Int16 nDay; in implGetWeekDay() local
1877 nDay = (sal_Int16)aDay + 2; in implGetWeekDay()
1879 nDay = 1; // 1==Sonntag in implGetWeekDay()
1899 nDay = 1 + (nDay + 7 - nFirstDay) % 7; in implGetWeekDay()
1901 return nDay; in implGetWeekDay()
1924 rPar.Get(0)->PutInteger( nDay ); in RTLFUNC()
2048 sal_Int16 nYear, nMonth, nDay; in RTLFUNC() local
[all …]
H A Dmethods.cxx1835 sal_Bool implDateSerial( sal_Int16 nYear, sal_Int16 nMonth, sal_Int16 nDay, double& rdRet ) in implDateSerial() argument
1841 Date aCurDate( nDay, nMonth, nYear ); in implDateSerial()
1850 (nDay < 1 || nDay > 31 ) ) in implDateSerial()
1877 if( ( nDay < 1 ) || ( nDay > aCurDate.GetDaysInMonth() ) ) in implDateSerial()
1878 aCurDate += nDay - 1; in implDateSerial()
1880 aCurDate.SetDay( nDay ); in implDateSerial()
1947 sal_Int16 nDay = rPar.Get(3)->GetInteger(); in RTLFUNC() local
1950 if( implDateSerial( nYear, nMonth, nDay, dDate ) ) in RTLFUNC()
2099 sal_Int16 nDay = implGetDateDay( aDate ); in RTLFUNC() local
2100 rPar.Get(0)->PutInteger( nDay ); in RTLFUNC()
/trunk/main/sc/addin/datefunc/
H A Ddfa.cl129 * @param nDay the day of the Month
145 nDays += nDay;
277 USHORT nDay,nMonth,nYear;
280 DaysToDate(nDays1,&nDay,&nMonth,&nYear);
388 USHORT nDay, nMonth, nYear;
394 DaysToDate(nDays,&nDay,&nMonth,&nYear);
410 USHORT nDay, nMonth, nYear;
416 DaysToDate(nDays,&nDay,&nMonth,&nYear);
444 USHORT nDay, nMonth, nYear;
451 DaysToDate(nDays,&nDay,&nMonth,&nYear);
[all …]
/trunk/main/chart2/source/tools/
H A DNumberFormatterWrapper.cxx101 sal_uInt16 nYear = 1899,nDay = 30,nMonth = 12; in getNullDate() local
102 Date aRet(nDay,nMonth,nYear); in getNullDate()
129 sal_uInt16 nYear = 1899,nDay = 30,nMonth = 12; in getFormattedString() local
137 nDay = pDate->GetDay(); in getFormattedString()
147 m_pNumberFormatter->ChangeNullDate(nDay,nMonth,nYear); in getFormattedString()
/trunk/main/i18npool/source/calendar/
H A Dcalendar_gregorian.cxx453 sal_Int32 nMonth, sal_Int32 nDay, sal_Int32 nHour, sal_Int32 nMinute, in submitValues() argument
462 if (nDay >= 0) in submitValues()
463 body->set( UCAL_DATE, nDay); in submitValues()
528 …sal_Int32 nZone1, nDST1, nYear, nMonth, nDay, nHour, nMinute, nSecond, nMilliSecond, nZone0, nDST0; in setValue() local
530 nYear = nMonth = nDay = nHour = nMinute = nSecond = nMilliSecond = -1; in setValue()
548 nDay = body->get( UCAL_DATE, status = U_ZERO_ERROR); in setValue()
550 nDay = -1; in setValue()
590 … submitValues( nYear, nMonth, nDay, nHour, nMinute, nSecond, nMilliSecond, nZone0, nDST0); in setValue()
641 … submitValues( nYear, nMonth, nDay, nHour, nMinute, nSecond, nMilliSecond, nZone2, nDST2); in setValue()
687 … submitValues( nYear, nMonth, nDay, nHour, nMinute, nSecond, nMilliSecond, nZone3, nDST3); in setValue()
/trunk/main/ucb/workben/ucb/
H A Dsrcharg.cxx379 USHORT nDay = 0; in parseSearchArgument() local
381 nDay = INetMIME::getWeight(*r++); in parseSearchArgument()
385 nDay = 10 * nDay + INetMIME::getWeight(*r++); in parseSearchArgument()
394 if (bOK && Date(nDay, nMonth, nYear).IsValid()) in parseSearchArgument()
397 aTheOperand <<= util::Date(nDay, nMonth, nYear); in parseSearchArgument()
/trunk/main/framework/source/fwi/classes/
H A Dconverter.cxx196 sal_uInt16 nDay = (sal_uInt16)(sSource.getToken( 0, (sal_Unicode)'.', nIndex ).toInt32()); in convert_String2DateTime() local
213 Date aDate( nDay , nMonth, nYear ); in convert_String2DateTime()
260 sal_Int32 nDay = aSource.GetDay(); in convert_DateTime2ISO8601() local
285 if (nDay<10) in convert_DateTime2ISO8601()
287 sBuffer.append( (sal_Int32)nDay ); in convert_DateTime2ISO8601()
/trunk/main/tools/inc/tools/
H A Ddate.hxx53 Date( sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear ) in Date() argument
54 { nDate = ( sal_uInt32( nDay % 100 ) ) + in Date()
112 static long DateToDays( sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear );
/trunk/main/vcl/source/control/
H A Dfield2.cxx1210 sal_uInt16 nDay = 0; in ImplDateGetValue() local
1224 nDay = ImplCutNumberFromString( aStr ); in ImplDateGetValue()
1262 nDay = ImplGetNum( pBuf, bError ); in ImplDateGetValue()
1275 nDay = ImplGetNum( pBuf, bError ); in ImplDateGetValue()
1291 nDay = ImplGetNum( pBuf, bError ); in ImplDateGetValue()
1302 if ( bError || !nDay || !nMonth ) in ImplDateGetValue()
1305 Date aNewDate( nDay, nMonth, nYear ); in ImplDateGetValue()
1385 sal_uInt16 nDay = rDate.GetDay(); in ImplGetDateAsText() local
1402 pBuf = ImplAddNum( pBuf, nDay, 2 ); in ImplGetDateAsText()
1414 pBuf = ImplAddNum( pBuf, nDay, 2 ); in ImplGetDateAsText()
[all …]
/trunk/main/sax/source/tools/
H A Dconverter.cxx1402 sal_Int32 nDay(0); in convertDateOrDateTime() local
1405 bSuccess = readDateTimeComponent(string, nPos, nDay, 2, true); in convertDateOrDateTime()
1406 bSuccess &= (0 < nDay) && (nDay <= lcl_MaxDaysPerMonth(nMonth, nYear)); in convertDateOrDateTime()
1498 lcl_addDay(bNegative, nYear, nMonth, nDay, 1); in convertDateOrDateTime()
1570 lcl_addTimezone(bNegative, nYear, nMonth, nDay, nHours, nMinutes, in convertDateOrDateTime()
1582 rDateTime.Day = static_cast<sal_uInt16>(nDay); in convertDateOrDateTime()
1595 rDate.Day = static_cast<sal_uInt16>(nDay); in convertDateOrDateTime()
/trunk/main/xmloff/source/meta/
H A Dxmlversion.cxx270 sal_Int32 nDay = 1; in ParseISODateTimeString() local
298 nDay = aDateStr.getToken( 0, '-', n ).toInt32(); in ParseISODateTimeString()
299 if ( nDay > 31 ) in ParseISODateTimeString()
340 rDateTime.Day = sal::static_int_cast< sal_uInt16 >(nDay); in ParseISODateTimeString()
/trunk/main/sc/source/core/tool/
H A Ddocoptio.cxx85 nDay( rCpy.nDay ), in ScDocOptions()
115 nDay = 30; in ResetDocOptions()
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/
H A DDBTypeConversion.java287 nDay = 0; in toDate() local
295 nDay = (short)safeParseInt(tokens[2]); in toDate()
298 return new Date(nDay,nMonth,nYear); in toDate()
/trunk/main/odk/examples/DevelopersGuide/Forms/
H A DSalesFilter.java221 int nDay = aCal.get( Calendar.DAY_OF_MONTH ); in getOdbcDate() local
222 if ( nDay < 10 ) in getOdbcDate()
224 sOdbcDate += (new Integer( nDay ) ).toString(); in getOdbcDate()
/trunk/main/sc/source/filter/xcl97/
H A DXclImpChangeTrack.cxx127 sal_uInt8 nMonth, nDay, nHour, nMin, nSec; in ReadDateTime() local
129 *pStrm >> nYear >> nMonth >> nDay >> nHour >> nMin >> nSec; in ReadDateTime()
133 rDateTime.SetDay( nDay ); in ReadDateTime()
/trunk/main/connectivity/source/commontools/
H A Ddbconversion.cxx421 nDay = 0; in toDate() local
427 nDay = (sal_uInt16)_sSQLString.getToken(0,sDateSep,nIndex).toInt32(); in toDate()
430 return Date(nDay,nMonth,nYear); in toDate()
/trunk/main/desktop/source/so_comp/
H A Devaluation.cxx168 int nDay = TIMEBOMB % 100; in getMaterial() local
171 com::sun::star::util::Date aDate( nDay, nMonth, nYear ); in getMaterial()
/trunk/main/ucb/source/ucp/odma/
H A Dodma_provider.cxx306 nDay = 0; in toDate() local
309 nDay = (sal_uInt16)_sSQLString.copy(6,2).toInt32(); in toDate()
311 return util::Date(nDay,nMonth,nYear); in toDate()

Completed in 424 milliseconds

123