/aoo4110/main/tools/source/datetime/ |
H A D | tdate.cxx | 92 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 …]
|
/aoo4110/main/svtools/source/control/ |
H A D | calendar.cxx | 354 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 …]
|
/aoo4110/main/ucb/source/ucp/ftp/ |
H A D | ftpdirp.cxx | 85 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 …]
|
/aoo4110/main/sc/inc/ |
H A D | docoptio.hxx | 38 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 ==()
|
/aoo4110/main/scaddins/source/analysis/ |
H A D | analysishelper.cxx | 180 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 …]
|
H A D | analysishelper.hxx | 64 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
|
/aoo4110/main/scaddins/source/datefunc/ |
H A D | datefunc.cxx | 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() 928 sal_uInt16 nDay, nMonth, nYear; in getWeeksInYear() local [all …]
|
/aoo4110/main/unotools/source/i18n/ |
H A D | localedatawrapper.cxx | 1055 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 …]
|
/aoo4110/main/basic/source/runtime/ |
H A D | methods1.cxx | 1832 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 D | methods.cxx | 1820 sal_Bool implDateSerial( sal_Int16 nYear, sal_Int16 nMonth, sal_Int16 nDay, double& rdRet ) in implDateSerial() argument 1826 Date aCurDate( nDay, nMonth, nYear ); in implDateSerial() 1835 (nDay < 1 || nDay > 31 ) ) in implDateSerial() 1862 if( ( nDay < 1 ) || ( nDay > aCurDate.GetDaysInMonth() ) ) in implDateSerial() 1863 aCurDate += nDay - 1; in implDateSerial() 1865 aCurDate.SetDay( nDay ); in implDateSerial() 1932 sal_Int16 nDay = rPar.Get(3)->GetInteger(); in RTLFUNC() local 1935 if( implDateSerial( nYear, nMonth, nDay, dDate ) ) in RTLFUNC() 2084 sal_Int16 nDay = implGetDateDay( aDate ); in RTLFUNC() local 2085 rPar.Get(0)->PutInteger( nDay ); in RTLFUNC()
|
/aoo4110/main/sc/addin/datefunc/ |
H A D | dfa.cl | 129 * @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 …]
|
/aoo4110/main/chart2/source/tools/ |
H A D | NumberFormatterWrapper.cxx | 101 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()
|
/aoo4110/main/ucb/workben/ucb/ |
H A D | srcharg.cxx | 379 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()
|
/aoo4110/main/i18npool/source/calendar/ |
H A D | calendar_gregorian.cxx | 453 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()
|
/aoo4110/main/framework/source/fwi/classes/ |
H A D | converter.cxx | 196 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()
|
/aoo4110/main/tools/inc/tools/ |
H A D | date.hxx | 53 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 );
|
/aoo4110/main/vcl/source/control/ |
H A D | field2.cxx | 1210 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 …]
|
/aoo4110/main/sax/source/tools/ |
H A D | converter.cxx | 1402 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()
|
/aoo4110/main/xmloff/source/meta/ |
H A D | xmlversion.cxx | 270 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()
|
/aoo4110/main/sc/source/core/tool/ |
H A D | docoptio.cxx | 85 nDay( rCpy.nDay ), in ScDocOptions() 115 nDay = 30; in ResetDocOptions()
|
/aoo4110/main/odk/examples/DevelopersGuide/Forms/ |
H A D | SalesFilter.java | 221 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()
|
/aoo4110/main/sc/source/filter/xcl97/ |
H A D | XclImpChangeTrack.cxx | 127 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()
|
/aoo4110/main/connectivity/source/commontools/ |
H A D | dbconversion.cxx | 421 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()
|
/aoo4110/main/desktop/source/so_comp/ |
H A D | evaluation.cxx | 168 int nDay = TIMEBOMB % 100; in getMaterial() local 171 com::sun::star::util::Date aDate( nDay, nMonth, nYear ); in getMaterial()
|
/aoo4110/main/ucb/source/ucp/odma/ |
H A D | odma_provider.cxx | 306 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()
|