Home
last modified time | relevance | path

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

123

/AOO41X/main/tools/source/datetime/ !
H A Dtdate.cxx84 long Date::DateToDays( sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear ) in DateToDays() argument
92 nDays += nDay; in DateToDays()
193 sal_uIntPtr nDay = GetDay(); in SetMonth() local
196 nDate = nDay + (((sal_uIntPtr)(nNewMonth%100))*100) + (nYear*10000); in SetMonth()
203 sal_uIntPtr nDay = GetDay(); in SetYear() local
206 nDate = nDay + (nMonth*100) + (((sal_uIntPtr)(nNewYear%10000))*10000); in SetYear()
220 sal_uInt16 nDay = GetDay(); in GetDayOfYear() local
222nDay = nDay + ::DaysInMonth( i, GetYear() ); // += yields a warning on MSVC, so don't use it in GetDayOfYear()
223 return nDay; in GetDayOfYear()
306 sal_uInt16 nDay; in GetWeekOfYear() local
[all …]
/AOO41X/main/svtools/source/control/ !
H A Dcalendar.cxx351 void Calendar::SetWeekStart( sal_Int16 nDay ) in SetWeekStart() argument
354 switch (nDay) in SetWeekStart()
366 nDay = i18n::Weekdays::SUNDAY; in SetWeekStart()
368 maCalendarWrapper.setFirstDayOfWeek( nDay); in SetWeekStart()
377 sal_Int16 nDay = maCalendarWrapper.getFirstDayOfWeek(); in ImplGetWeekStart() local
378 switch (nDay) in ImplGetWeekStart()
505 sal_Int16 nDay = maCalendarWrapper.getFirstDayOfWeek(); in ImplFormat() local
513 i18n::CalendarDisplayIndex::DAY, nDay, 1).GetChar(0)); in ImplFormat()
524 nDay++; in ImplFormat()
525 nDay %= 7; in ImplFormat()
[all …]
/AOO41X/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()
519 rEntry.m_aDate.SetDay(nDay); in parseDOS()
713 sal_uInt16 nDay; in parseVMS() local
719 nDay = *p++ - '0'; in parseVMS()
723 nDay = *p++ - '0'; in parseVMS()
725 nDay = 10 * nDay + (*p++ - '0'); in parseVMS()
[all …]
/AOO41X/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 ==()
/AOO41X/main/scaddins/source/analysis/ !
H A Danalysishelper.cxx173 sal_Int32 DateToDays( sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear ) in DateToDays() argument
180 nDays += nDay; in DateToDays()
1605 void SortedIndividualInt32List::Insert( sal_Int32 nDay ) in Insert() argument
1612 if( nDay == nRef ) in Insert()
1614 else if( nDay > nRef ) in Insert()
1616 MyList::Insert( (void*) nDay, nIndex + 1 ); in Insert()
1620 MyList::Insert( (void*) nDay, 0UL ); in Insert()
1624 void SortedIndividualInt32List::Insert( sal_Int32 nDay, sal_Int32 nNullDate, sal_Bool bInsertOnWeek… in Insert() argument
1626 if( !nDay ) in Insert()
1629 nDay += nNullDate; in Insert()
[all …]
H A Danalysishelper.hxx64 sal_Int32 DateToDays( sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear );
323 void Insert( sal_Int32 nDay );
324 …void Insert( sal_Int32 nDay, sal_Int32 nNullDate, sal_Bool bInsertOnWeekend…
933 …sal_uInt16 nDay; /// is the calculated day depending on the current… member in ScaDate
/AOO41X/main/scaddins/source/datefunc/ !
H A Ddatefunc.cxx597 sal_Int32 DateToDays( sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear ) in DateToDays() argument
604 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()
[all …]
/AOO41X/main/unotools/source/i18n/ !
H A Dlocaledatawrapper.cxx1055 xub_StrLen nDay = rCode.Search( 'D' ); in scanDateFormatImpl() local
1058 if ( nDay == STRING_NOTFOUND || nMonth == STRING_NOTFOUND || nYear == STRING_NOTFOUND ) in scanDateFormatImpl()
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()
1081 nDay = rCode.Search( 'J' ); // French in scanDateFormatImpl()
1082 if ( nDay == STRING_NOTFOUND ) in scanDateFormatImpl()
1083 nDay = rCode.Search( 'G' ); // Italian in scanDateFormatImpl()
1095 if ( nDay == STRING_NOTFOUND || nMonth == STRING_NOTFOUND || nYear == STRING_NOTFOUND ) in scanDateFormatImpl()
[all …]
/AOO41X/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()
1862 const CalendarItem& rItem = pCalendarItems[nDay - 1]; 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()
1923 sal_Int16 nDay = implGetWeekDay( aDate, bFirstDay, nFirstDay ); 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()
/AOO41X/main/sc/addin/datefunc/ !
H A Ddfa.cl129 * @param nDay the day of the Month
135 static long DateToDays( USHORT nDay, USHORT nMonth, USHORT nYear )
145 nDays += nDay;
159 * @param nDay count of days from 01/01/0001
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);
[all …]
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()
/AOO41X/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 );
/AOO41X/main/vcl/source/control/ !
H A Dfield2.cxx1210 sal_uInt16 nDay = 0; in ImplDateGetValue() local
1224 nDay = ImplCutNumberFromString( aStr ); in ImplDateGetValue()
1228 nDay = ImplCutNumberFromString( aStr ); in ImplDateGetValue()
1236 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
[all …]
/AOO41X/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()
/AOO41X/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()
/AOO41X/main/sc/source/core/tool/ !
H A Ddocoptio.cxx85 nDay( rCpy.nDay ), in ScDocOptions()
115 nDay = 30; in ResetDocOptions()
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()

123